Skip to content

Instantly share code, notes, and snippets.

@bryhaw
Created February 6, 2014 06:01
Show Gist options
  • Save bryhaw/8839020 to your computer and use it in GitHub Desktop.
Save bryhaw/8839020 to your computer and use it in GitHub Desktop.
Git: Discard unstaged changes
git stash save --keep-index
git stash drop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment