git format-patch -k --stdout
where -k
is number of commits you want to create patch for from the latest situation. --stdout
allows to see the merged diff of all these commits, hence preferred to check before creating patches.
Now when you are sure, create patch files using
git format-patch -k
if k
is 3, it will create 3 patch files for 3 past commits.