public
Last active

Reword *first* commit

  • Download Gist
gistfile1.txt
1 2 3
# 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

Thanks! Helpful. :-)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.