Luben Tuikov wrote: > --- Andreas Ericsson wrote: > > >>Here's how to automate it. >> >>git format-patch $(git rev-list --max-count=2 | tail -n >>1).. > > > I've a similar script, called > "git-format-commit-patch " which is slightly > more involved. > > >>Either way, you need to know , but this format should be >>fairly easy to add to git-format-patch. If you do, please > > > How about git-format-patch --commit > to generate the formatted patch of only what _that_ commit > introduced? (i.e. ..) Doesn't git-format-patch $commit^1..$commit do what you want?