Skip to main content
edited tags
Link
Jappa
  • 101
  • 8
Source Link
Jappa
  • 101
  • 8

git: squash three last commits together

I want to squash my 3 last commit together (from ax38aa to ax18aa).

i had

commit ax18aa
commit ax28aa
commit ax38aa
commit ax48aa
commit ax58aa

Code

git rebase -i ax48aa

but was surprised that when i did git log i have only

commit ax48aa
commit ax58aa

and didn't ask mi the new message for the commit. How can i do? please? who can help please Thank youu,