git-import-dsc

Name

git-import-dsc -- Import Debian packages into a Git repository

Synopsis

git-import-dsc [--verbose] [--upstream-branch=branch_name] [--debian-branch=branch_name] [--sign-tags] [--keyid=gpg-keyid] [--debian-tag=tag-format] [--upstream-tag=tag-format] [--filter=pattern] [--pristine-tar] debian-source.dsc

DESCRIPTION

git-import-dsc imports a Debian source package into a Git repository, notes the package version in the commit logs, and commits the change. All information, including package name, version, Debian diffs, and upstream source is automatically detected from the source package.

OPTIONS

--upstream-branch=branch_name

The branch in the Git repository the upstream sources are put onto. Default is upstream.

--debian-branch=branch_name

The branch in the Git repository the debian sources are put onto. Default is master.

--verbose, -v

verbose execution

--sign-tags

GPG sign all created tags

--keyid=gpg-keyid

use this keyid for gpg signing tags

--debian-tag=tag-format

use this tag format when tagging Debian versions, default is debian/<version>

--upstream-tag=tag-format

use this tag format when tagging upstream versions, default is upstream/<version>

--filter=pattern

filter out files glob-matching pattern. Can be given multiple times.

--pristine-tar

generate pristine-tar delta file

CONFIGURATION FILES

Four configuration files are parsed to set defaults for the above commandline arguments:

/etc/git-buildpackage/gbp.conf

system wide configuraton

~/.gbp.conf

per user configuration

.gbp.conf

per branch configuration, can be published with the repository

.git/gbp.conf

per repository configuration

See /etc/git-buildpackage/gbp.conf for an example.

SEE ALSO

git-import-dscs(1), git-buildpackage(1), git-import-orig(1), git-dch(1), debuild(1), git(1), git_load_dirs(1), pristine-tar(1), The Git-Buildpackage Manual

AUTHOR

Guido Guenther