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

Packaging guidelines

Workflow guidelines


Working on existing packages with Git for newbies

gbp clone git://<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>

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

CategoryGit CategoryPackaging