Skip to content

Instantly share code, notes, and snippets.

@bryhaw2
Created February 6, 2014 06:01
Show Gist options
  • Select an option

  • Save bryhaw2/8839020 to your computer and use it in GitHub Desktop.

Select an option

Save bryhaw2/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