Skip to main content
1 of 3
Ariel Gabizon
  • 3.2k
  • 2
  • 18
  • 22

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'

Ariel Gabizon
  • 3.2k
  • 2
  • 18
  • 22