---
name: "git-buildpackage"
section: "1"
platform: "linux"
package: "git-buildpackage"
version: "0.9.38"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gbp"
---

# git-buildpackage(1)

Maintain Debian packages in Git

Part of [gbp(1)](/gbp/1.md).

## NAME

gbp - Maintain Debian packages in Git

## SYNOPSIS

FC**gbp**F\[0\]  {FC**--help**F\[0\] \| FC**--version**F\[0\] \| FC**--list-cmds**F\[0\] \| FC**command**F\[0\]\[FC**args**F\[0\]\]...}

## DESCRIPTION

**gbp** is used to maintain Debian source packages in the Git version control system. For a complete description of concepts, git repository layout and recommended workflows, see the online manual at https://gbp.sigxcpu.org/manual/.

## OPTIONS

- FC**--help**F\[0\]

  Print help

- FC**--version**F\[0\]

  Print the programs version

- FC**--list-cmds**F\[0\]

  List all available commands

## GBP COMMANDS

These are the possible commands. For possible arguments to these commands, please see the corresponding man pages.

- buildpackage

  Build Debian source and binary packages from a Git repository

- import-orig

  Import an upstream source from tarball, or git tag and tarball, into a git repository

- import-ref

  Merge upstream git commits onto your FC**debian-branch**F\[0\]

- export-orig

  Recreate upstream tarballs from a Git repository

- import-dsc

  Import a Debian source packages into a Git repository

- import-dscs

  Import several Debian source packages into a Git repository, sorted by version number

- dch

  Generate the FC*debian/changelog*F\[0\] from Git commit history

- pq

  Manage FC*debian/patches*F\[0\] in Git without any need for GNU Quilt

- pull

  Update a Git repository from a remote, aware of necessary packaging branch tracking

- clone

  Clone a Git repository from a remote and set up the necessary branch tracking

- create-remote-repo

  Create a remote Git repository

- tag

  Tag a Debian release in a Git repository

- push

  Push to a remote Git repository, aware of necessary packaging branch tracking

## CONFIGURATION FILES

Several FC*gbp.conf*F\[0\] files are parsed  to set defaults for the above command-line arguments. See the [**gbp.conf**(5)](/gbp.conf/5.md) manpage for details.

## SEE ALSO

[**gbp-buildpackage**(1)](/gbp-buildpackage/1.md), [**gbp-clone**(1)](/gbp-clone/1.md), [**gbp-create-remote-repo**(1)](/gbp-create-remote-repo/1.md), [**gbp-dch**(1)](/gbp-dch/1.md), [**gbp-export-orig**(1)](/gbp-export-orig/1.md), [**gbp-import-dsc**(1)](/gbp-import-dsc/1.md), [**gbp-import-dscs**(1)](/gbp-import-dscs/1.md), [**gbp-import-orig**(1)](/gbp-import-orig/1.md), [**gbp-pq**(1)](/gbp-pq/1.md), [**gbp-pristine-tar**(1)](/gbp-pristine-tar/1.md), [**gbp-pull**(1)](/gbp-pull/1.md), [**gbp-push**(1)](/gbp-push/1.md), [**gbp-tag**(1)](/gbp-tag/1.md), [**git-pbuilder**(1)](/git-pbuilder/1.md), [**gbp.conf**(5)](/gbp.conf/5.md), [**debuild**(1)](/debuild/1.md), [**git**(1)](/git/1.md), [**pristine-tar**(1)](/pristine-tar/1.md),\
        The Git-Buildpackage Manual ⟨file:///usr/share/doc/git-buildpackage/manual-html/index.html⟩

## AUTHOR

Guido Günther \<FCagx@sigxcpu.orgF\[0\]\>
