gbp-pristine-tar(1) | git-buildpackage Manual | gbp-pristine-tar(1) |
gbp-pristine-tar - Manage pristine-tar commits in a git repository
gbp pristine-tar
[--version] [--help] [--verbose]
[--color=[auto|on|off]] [--color-scheme= COLOR_SCHEME]
[--upstream-tag= tag-format] [--component=
component]... commit filename
gbp pristine-tar adds the pristine-tar commit for a given upstream tarball to a Git repository. This can be useful if a original tarball has been already imported and the pristine-tar commits should be added at a later time or if you're tracking upstream git and want to create pristine-tar commits nevertheless.
Using additional original tarballs is a feature of the 3.0 (quilt) source format. See the dpkg-source manpage for details. This is currently considered an experimental feature and might change incompatibly.
Add pristine-tar commits for an upstream tarball:
gbp pristine-tar commit ../upstream-tarball-0.1.tar.gz
Same as above with an additional tarball ../upstream-tarball-foo-0.1.tar.gz:
gbp pristine-tar --component-tarball=foo commit ../upstream-tarball-0.1.tar.gz
Several gbp.conf files are parsed to set defaults for the above command-line arguments. See the gbp.conf(5) manpage for details.
gbp-import-orig(1), gbp.conf(5), debuild(1),
git(1), pristine-tar(1),
The Git-Buildpackage Manual
⟨file:///usr/share/doc/git-buildpackage/manual-html/index.html⟩
Guido Günther <agx@sigxcpu.org>
1 February 2021 |