git rebaseΒΆ

To include the root commit in a rebase use the --root flag.

$ git rebase -i --root

Source