What can be really convenient:
Find the commit hash you want to squash on top of; say it's d43e15
Now use
git reset d43e15
git commit -am 'new commit name'
What can be really convenient:
Find the commit hash you want to squash on top of; say it's d43e15
Now use
git reset d43e15
git commit -am 'new commit name'