Created
May 9, 2014 00:13
-
-
Save dotfold/d80da481aef50ff7b0f6 to your computer and use it in GitHub Desktop.
overwrite the horrible and unfortunately prevalent "Initial Commit" message
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
# checkout the root commit | |
git checkout <sha1-of-root> | |
# amend the commit | |
git commit --amend | |
# rebase all the other commits in master onto the amended root | |
git rebase --onto HEAD HEAD master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment