Created
May 16, 2011 08:14
-
-
Save jbgutierrez/974079 to your computer and use it in GitHub Desktop.
Git history rewrite (fix a bad commit)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git tag bad HASH | |
git co bad | |
git commit --ammend | |
git rebase --onto HEAD bad master | |
git tag -d bad |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment