Skip to content

Instantly share code, notes, and snippets.

@mkoller
Created June 8, 2016 17:22
Show Gist options
  • Save mkoller/09887ef640697cc8ecaa724a20950249 to your computer and use it in GitHub Desktop.
Save mkoller/09887ef640697cc8ecaa724a20950249 to your computer and use it in GitHub Desktop.
$ git commit -m "Something terribly misguided"
$ git reset --soft HEAD~
<< edit files as necessary >>
$ 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