Skip to content

Instantly share code, notes, and snippets.

@pcreux
Created January 26, 2012 07:48
Show Gist options
  • Save pcreux/1681580 to your computer and use it in GitHub Desktop.
Save pcreux/1681580 to your computer and use it in GitHub Desktop.
Reword *first* commit
# You can't use rebase -i here since it takes the parent commit as argument.
# You can do the following though:
git checkout FIRST_COMMIT_SHA && git commit --amend && git rebase HEAD master
@Enaku
Copy link

Enaku commented Jan 29, 2012

Thanks! Helpful. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment