&dhemail;
&dhfirstname;
&dhsurname;
git-import-orig
&dhsection;
&git-import-orig;Import an upstream source into a git repository
&git-import-orig;
versionbranch_namebranch_namegpg-keyidtag-formatpatternupstream-sourceDESCRIPTION
&git-import-orig; imports upstream-source into
the &git; repository. upstream-source can either
be a gzip or bzip2 compressed tar archive or an already unpacked source
tree. If it is already of the form
package-name_version.orig.tar.gz, the version
information is read from the tarball's filename otherwise it can be
given on the command line via .
The sources are placed on the upstream branch (default:
upstream), tagged and merged onto the debian
branch (default: master).
OPTIONS=versionversionThe upstream version numberMerge the upstream branch to the debian branch after import=branch_nameThe branch in the Git repository the upstream sources are put
onto. Default is upstream.=branch_nameThe branch in the Git repository the Debian package is being
developed on, default is master. After
importing the new sources on the upstream branch, &git-import-orig;
will try to merge the new version onto this branch.verbose executionGPG sign all created tagsgpg-keyiduse this keyid for gpg signing tagstag-formatuse this tag format when tagging upstream versions,
default is upstream/<version>msg-formatuse this format string for the commit message when
importing upstream versions, default is Imported
Upstream version %(version)spatternfilter out files glob-matching pattern. Can be given multiple times.generate pristine-tar delta fileif using a filter also filter the files out of the tarball
passed to pristine tarrun cmd after the import.Use uscan to fetch new upstream version.
&man.git.config-files;
SEE ALSOgit-buildpackage1,
git-import-dsc1,
git-import-dscs1,
git-dch1,
&man.seealso.common;
AUTHOR&dhusername; &dhemail;