Skip to content

Instantly share code, notes, and snippets.

@jiahuang
Created April 29, 2012 03:47
Show Gist options
  • Save jiahuang/2531449 to your computer and use it in GitHub Desktop.
Save jiahuang/2531449 to your computer and use it in GitHub Desktop.
drop unstaged changes in git
http://stackoverflow.com/questions/52704/how-do-you-discard-unstaged-changes-in-git
git stash save --keep-index
git stash drop
@tcr
Copy link

tcr commented Apr 29, 2012

Boooo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment