Created
May 12, 2016 00:20
-
-
Save BBischof/cdbdd70d365b67eaee46c4642e7bedaa to your computer and use it in GitHub Desktop.
deleting a specific git commit
This file contains hidden or 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
#how to deal with this obnoxious issue. | |
git log | |
#look for the <commmit-id> of the offending commit | |
git rebase --onto <commit-id>^ <commit-id> HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment