When I run git rebase -i HEAD~2
, it lists 11 commits instead of 2. Why?
What I've done prior to this was:
- Checked out upstream/branchA
- Rebased my new local copy of branchA with master
- Tried to push my local branchA back to upstream
- Git complained that the branches were out of sync, and to first pull in upstream
- Pulled upstream/branchA into local branchA
- Pushed local branchA to upstream/branchA (success)