Changes between Version 41 and Version 42 of Developer/Git


Ignore:
Timestamp:
Feb 15, 2012, 9:59:16 PM (8 years ago)
Author:
Gedare
Comment:

/* git reset */

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Git

    v41 v42  
    200200git reset --hard HEAD~
    201201}}}
    202 Will revert everything, including the working directory, to the previous commit. This is dangerous and can lead to you losing all your changes.
     202Will revert everything, including the working directory, to the previous commit. This is dangerous and can lead to you losing all your changes; the --hard flag ignores errors.
    203203
    204204{{{