Skip to content

Instantly share code, notes, and snippets.

@teebot
Created June 6, 2014 22:48
Show Gist options
  • Save teebot/06c1361f481a7d66fb2f to your computer and use it in GitHub Desktop.
Save teebot/06c1361f481a7d66fb2f to your computer and use it in GitHub Desktop.
Un-commit last un-pushed git commit without losing the changes
git reset HEAD~1 --soft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment