| Building Debian Packages with git-buildpackage: Version: 0.5.32 |
|---|
gbp-clone [--verbose] [--all] [--[no-]pristine-tar] [--debian-branch=branch_name] [--upstream-branch=branch_name] remote_uri
gbp-clone clones a remote repository and sets up tracking branches for the debian, upstream and pristine-tar branches. This way you can easily update later using gbp-pull.
--all | Track all branches, not only debian and upstream. |
--debian-branch=branch_name | The branch in the Git repository the Debian package is being developed on, default is master. |
--upstream-branch=branch_name | The branch in the Git repository the upstream sources are put onto. Default is upstream. |
--verbose, -v | verbose execution |
--pristine-tar | Track pristine tar branch. |
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 |
| debian/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.
| <<< git-dch | gbp-pull >>> |