Rebase first two commits

I ran into a situation where I had multiple commits, but I wanted to squash the second commit with the first one.

If you're trying to do the regular git rebase -i master, it will list all commits except the first one.

To list all commits including the first one, this could be used:

git rebase -i --root master

reference