1GIT-DEBORIG(1) GIT-DEBORIG(1)
2
3
4
6 git-deborig - try to produce Debian orig.tar using git-archive(1)
7
9 git deborig [--force|-f] [--just-print] [--version=VERSION]
10 [COMMITTISH]
11
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
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 --version=VERSION
44 Instead of reading the new upstream version from the first entry in
45 the Debian changelog, use VERSION.
46
48 git-archive(1), dgit-maint-merge(7)
49
51 git-deborig was written by Sean Whitton <spwhitton@spwhitton.name>.
52
53
54
55Debian Utilities 2018-12-10 GIT-DEBORIG(1)