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           %(description)s - patch description
20           %(shortdescr)s  - the first line of the patch description
21           %(longdescr)s   - the rest of the patch description, after the first line
22           %(diffstat)s    - the diff statistics
23           %(authname)s    - author's name
24           %(authemail)s   - author's e-mail
25           %(authdate)s    - patch creation date
26           %(commname)s    - committer's name
27           %(commemail)s   - committer's e-mail
28

OPTIONS

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

STGIT

55       Part of the StGit suite - see stg(1)
56
57
58
59StGit 1.1                         07/23/2021                     STG-EXPORT(1)
Impressum