I use git rebase -i HEAD~5
quite a lot to rebase my commits and squash them down into one. Question I have is, is there a shorthand way of doing this but saying to pick/rename the first commit and then squash all the rest? If I have 5 commits for example doing this by hand per commit is fine, but when I have say 40 commits, I don't want to have to go beside 39 of them and put squash
or s
at the start.
Similarly once I've chosen which commits to pick/rename/squash, when you go to the next screen where it asks you to choose the commit messages to include, is there a shorter way to tell it to comment out all commit messages except for the first one?