squash the last N commits in git
Posted: Sat Apr 11, 2015 2:35 am
example, squash the last 3 commits in git:
git reset --soft HEAD~3
git commit --edit
git reset --soft HEAD~3
git commit --edit
Fabio's notes open to everybody
http://www.crokky.com/notepad/