Skip to content

Instantly share code, notes, and snippets.

@steffen-wirth
Created February 4, 2015 20:19
Show Gist options
  • Save steffen-wirth/a41954d8a8de5db12b07 to your computer and use it in GitHub Desktop.
Save steffen-wirth/a41954d8a8de5db12b07 to your computer and use it in GitHub Desktop.
reset last commit
git reset --soft HEAD^
edit
git add ...
git commit -c ORIG_HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment