This page is based on PkgKDE/GitPackaging (which was originally based on DebianMultimedia/DevelopPackaging).

Packaging guidelines

Workflow guidelines

Documentation

Working on existing packages with Git for newbies

gbp clone git://git.debian.org/pkg-mate/<src:package-name>.git

git pull --rebase origin

git pull origin

git rebase -i origin/master

Uploading new upstream version to existing repository

$ git checkout master

$ git pull

$ git remote update

$ git fetch alioth upstream:upstream pristine-tar:pristine-tar

$ git-import-orig --pristine-tar /path/to/<package>_<upstream-version>.orig.tar.bz

$ git push alioth master upstream pristine-tar --tags --dry-run


CategoryGit