Try, git checkout -- <filename>

>-----Original Message-----
>From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
>Sent: Wednesday, February 27, 2013 10:43 PM
>To: cloudstack-dev@incubator.apache.org
>Subject: Git Question
>
>Hi,
>
>I'm somewhat new to Git (having been using SVN the past six years or so).
>
>I'm looking through Git documentation, but don't see a command for what I
>want to do here (although I'm guessing such a command exists).
>
>I have a file I changed.  It is not staged.  I just want to revert it to the 
>state it was
>in before I made any changes to it.
>
>Does anyone know the command I would use for this?
>
>Thanks!
>
>--
>*Mike Tutkowski*
>*Senior CloudStack Developer, SolidFire Inc.*
>e: mike.tutkow...@solidfire.com
>o: 303.746.7302
>Advancing the way the world uses the
>cloud<http://solidfire.com/solution/overview/?video=play>
>*(tm)*

Reply via email to