1STG-EXPORT(1)                    StGit Manual                    STG-EXPORT(1)
2
3
4

NAME

6       stg-export - Export patches to a directory
7

SYNOPSIS

9       stg export [options] [--] [<patch1>] [<patch2>] [<patch3>..<patch4>]
10

DESCRIPTION

12       Export a range of applied patches to a given directory (defaults to
13       patches-<branch>) in a standard unified GNU diff format. A template
14       file (defaulting to .git/patchexport.tmpl or
15       ~/.stgit/templates/patchexport.tmpl or
16       /usr/share/stgit/templates/patchexport.tmpl) can be used for the patch
17       format. The following variables are supported in the template file:
18
19
20           %(description)s - patch description
21           %(shortdescr)s  - the first line of the patch description
22           %(longdescr)s   - the rest of the patch description, after the first line
23           %(diffstat)s    - the diff statistics
24           %(authname)s    - author's name
25           %(authemail)s   - author's e-mail
26           %(authdate)s    - patch creation date
27           %(commname)s    - committer's name
28           %(commemail)s   - committer's e-mail
29

OPTIONS

31       -d DIR, --dir DIR
32           Export patches to DIR instead of the default.
33
34       -p, --patch
35           Append .patch to the patch names.
36
37       -e EXTENSION, --extension EXTENSION
38           Append .EXTENSION to the patch names.
39
40       -n, --numbered
41           Prefix the patch names with order numbers.
42
43       -t FILE, --template FILE
44           Use FILE as a template.
45
46       -b BRANCH, --branch BRANCH
47           Use BRANCH instead of the default branch.
48
49       -s, --stdout
50           Dump the patches to the standard output.
51
52       -O OPTIONS, --diff-opts OPTIONS
53           Extra options to pass to "git diff".
54

STGIT

56       Part of the StGit suite - see stg(1)
57
58
59
60
61StGit                             07/27/2019                     STG-EXPORT(1)
Impressum