1

I have 4 commits that I want to save to one patch but I want to keep the 4 commit messages.

I've followed this solution but it doesn't save the separate commit messages: How do you squash commits into one patch with git format-patch?

Community
  • 1
  • 1
Andrew
  • 11
  • 1
  • Which answer did you follow? I believe `git format-patch master --stdout > my_new_patch.diff` should work – Andrew C Feb 04 '16 at 20:44
  • Why not generate 4 patches with `git format-patch`, apply them and then use `git rebase -i` to adjust everything to your needs? – eckes Feb 05 '16 at 06:35

0 Answers0