Categories
Snippets

Git rebase interactive with very first commit visible

Ever wanted to squash the first two commits with a “git rebase -i”? No? Me neither. Until today.

Stackoverflow to the rescue:

git rebase -i --root

Done.

Leave a Reply

Your email address will not be published. Required fields are marked *