Changes between Version 42 and Version 43 of Developer/Git


Ignore:
Timestamp:
Feb 15, 2012, 10:17:32 PM (8 years ago)
Author:
Gedare
Comment:

/* Reverting Changes */

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Git

    v42 v43  
    177177 git checkout -f
    178178}}}
    179 Or to selectively revert (uncommited) files
    180 {{{
    181  git checkout -- /some/file
    182  git checkout HEAD /some/file
     179Or to selectively revert (uncommited) files, for example if you accidentally deleted ./some/file
     180{{{
     181 git checkout -- ./some/file
     182}}}
     183or
     184{{{
     185 git checkout HEAD ./some/file
    183186}}}
    184187