Skip to main content
3 of 3
Add Shell syntax highlighting
Benjamin Loison
  • 5.5k
  • 4
  • 18
  • 37

What can be really convenient:
Find the commit hash you want to squash on top of, say d43e15.

Now use

git reset d43e15
git commit -am 'new commit name'
Ariel Gabizon
  • 3.2k
  • 2
  • 18
  • 22