Return to Snippet

Revision: 58803
at August 3, 2012 10:44 by cphoover


Initial Code
#MORE INFO: http://anders.janmyr.com/2009/09/git-undo-reset-or-revert.html
#METHOD 1:
#This stashes them 
git stash save --keep-index

#This gets rid of the stash and actually drops it
git stash drop

#METHOD 2:
git checkout -- .

Initial URL


Initial Description


Initial Title
Discard Unstaged Changes in GIT

Initial Tags


Initial Language
Bash