I have an SVN history of some 20000 commits. I moved to Git and kept the history. Now i'm at 26000 commits, and I want to squash all commits from 1 to 20000.
- Initial commit: a4f5d18
- Migration to git: 5a42d81
- HEAD: 933eff
I tried checking out 20000 and rebasing:
git checkout 5a42d81
git rebase squash a4f5d18
But i get:
fatal: Needed a single revision
invalid upstream squash