incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Likitha Shetty <likitha.she...@citrix.com>
Subject RE: Git Question
Date Wed, 27 Feb 2013 17:35:12 GMT
Try, git checkout -- <filename>

>-----Original Message-----
>From: Mike Tutkowski [mailto:mike.tutkowski@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.tutkowski@solidfire.com
>o: 303.746.7302
>Advancing the way the world uses the
>cloud<http://solidfire.com/solution/overview/?video=play>
>*(tm)*

Mime
View raw message