that given a file A and a file B, a patch represents "changes" between A and B Let's consider A: common.h, B: common.h.new To generate a patch diff -u common.h common.h.new
order? Very often, you can git checkout -b new_branch # suggested git rebase -i 328d2f5 # before the range Manually exchange the two commits in editor