table of contents
STG-EXPORT(1) | StGit Manual | STG-EXPORT(1) |
NAME¶
stg-export - Export patches to a directory
SYNOPSIS¶
stg export [options] [--] [<patch1>] [<patch2>] [<patch3>..<patch4>]
DESCRIPTION¶
Export a range of applied patches to a given directory (defaults to patches-<branch>) in a standard unified GNU diff format. A template file (defaulting to .git/patchexport.tmpl or ~/.stgit/templates/patchexport.tmpl or /usr/share/stgit/templates/patchexport.tmpl) can be used for the patch format. The following variables are supported in the template file:
%(description)s - patch description %(shortdescr)s - the first line of the patch description %(longdescr)s - the rest of the patch description, after the first line %(diffstat)s - the diff statistics %(authname)s - author's name %(authemail)s - author's e-mail %(authdate)s - patch creation date %(commname)s - committer's name %(commemail)s - committer's e-mail
OPTIONS¶
-d DIR, --dir DIR
-p, --patch
-e EXTENSION, --extension EXTENSION
-n, --numbered
-t FILE, --template FILE
-b BRANCH, --branch BRANCH
-s, --stdout
-O OPTIONS, --diff-opts OPTIONS
STGIT¶
Part of the StGit suite - see stg(1)
09/02/2017 | StGit |