Git How to Rebase First Commit


Today I learned that we can use following to rebase first commit.

1
git rebase -i --root

/assets/git-rebase-first-commit.assets/rebaseroot.png

The first commit(commit 49259c2) will not show up if we use git rebase -i 49259c2 or git rebase -i HEAD~4, which means first commit is not available for editing if we use rebase in regular way.