Say I have a number of commits in the feature branch from last commit in master
... - last_commit_in_master - C1 - C2 - .. - C100
Now I want to merge all those commits into a single one.
I know one solution:
git rebase -i master
- replace all the pick except first one. Yoohoo, there is
2,s/pick/squash/
in vim. <-- that's a step I don't like to do each time - choose new commit name.
Is there way to do it easier?