$ cg-mkpatch -r releasetag-0.9:releasetag-0.10
cg-mkpatch - make a patch from one or several commits
cg-mkpatch [-m] [-s] [-r FROM_ID[:TO_ID]]
Generate a patch with diff statistics and meta info about each commit.
Specify whether to print a short version of the patch without a patch header with meta info such as author and committer.
Specify a set of commits to make patches from using either -r FROM_ID[:TO_ID] or -r FROM_ID -r TO_ID. In both cases the option expects IDs which resolve to commits and will include the specified IDs. If TO_ID is omitted patches for all commits from FROM_ID to the initial commit will be generated. If no -r option is given the commit ID defaults to HEAD.
Base the patches at the merge base of the -r arguments (defaulting to HEAD and origin).
Print usage help.
To make patches for all commits between two releases tagged as releasetag-0.9 and releasetag-0.10 do:
$ cg-mkpatch -r releasetag-0.9:releasetag-0.10
The output will be a contionuos dump of patches each separated by the line !-------------------------------------------------------------flip-
Copyright © Petr Baudis, 2005