Rebase the First Commit in a Git Repository

The --root option of git rebase allows you to rebase the first commit in a repository. This is useful sometimes when setting up a new repository, which is not very often, but still…

git rebase -i --root

source