I made a trunk branch and submitted / made many changes. Each time, I often updated the branch by merging with the trunk (for example, 20 commits, then merge-update, another 20 commits, then merge-update, etc.).
Now I would like to crush everything in my branch. How to do it (using either the Git Extensions or the console)?
I tried typing:
git rebase -i HEAD~200
but I don’t know how many commits go through. I tried counting commits in Git Extensions, but it's hard to see, as it shows a mixture of everything that comes from branch branches and a chest. The menu "Show current branch" does not help.
source
share