1GIT-DEBORIG(1)                                                  GIT-DEBORIG(1)
2
3
4

NAME

6       git-deborig - try to produce Debian orig.tar using git-archive(1)
7

SYNOPSIS

9       git deborig [--force|-f] [--just-print|--just-print-tag-names]
10       [--version=VERSION] [COMMITTISH]
11

DESCRIPTION

13       git-deborig tries to produce the orig.tar you need for your upload by
14       calling git-archive(1) on an existing git tag or branch head.  It was
15       written with the dgit-maint-merge(7) workflow in mind, but can be used
16       with other workflows.
17
18       git-deborig will try several common tag names.  If this fails, or if
19       more than one of those common tags are present, you can specify the tag
20       or branch head to archive on the command line (COMMITTISH above).
21
22       git-deborig will override gitattributes(5) that would cause the
23       contents of the tarball generated by git-archive(1) not to be identical
24       with the commitish archived: the export-subst and export-ignore
25       attributes.
26
27       git-deborig should be invoked from the root of the git repository,
28       which should contain debian/changelog.
29

OPTIONS

31       -f|--force
32           Overwrite any existing orig.tar in the parent directory.
33
34       --just-print
35           Instead of actually invoking git-archive(1), output information
36           about how it would be invoked.  Ignores --force.
37
38           Note that running the git-archive(1) invocation outputted with this
39           option may not produce the same output.  This is because git-
40           deborig takes care to disables git attributes otherwise heeded by
41           git-archive(1), as detailed above.
42
43       --just-print-tag-names
44           Instead of actually invoking git-archive(1), or even checking which
45           tags exist, print the tag names we would consider for the upstream
46           version number in the first entry in the Debian changelog, or that
47           supplied with --version.
48
49       --version=VERSION
50           Instead of reading the new upstream version from the first entry in
51           the Debian changelog, use VERSION.
52

SEE ALSO

54       git-archive(1), dgit-maint-merge(7), dgit-maint-debrebase(7)
55

AUTHOR

57       git-deborig was written by Sean Whitton <spwhitton@spwhitton.name>.
58
59
60
61Debian Utilities                  2022-07-21                    GIT-DEBORIG(1)
Impressum