Forrest logo
back to the gbp tool

gbp:tldr:b122d

gbp: Import a new upstream release.
$ gbp import-orig --pristine-tar ${path-to-package-tar-gz}
try on your machine

This command is used with the Git-buildpackage (gbp) tool to import the original source package into a Git repository. Let's break down the command:

  • gbp: It refers to the Git-buildpackage tool, which is a collection of Git-based tools for managing Debian source packages.
  • import-orig: This is a subcommand of gbp, specifically used to import the original source package into a Git repository.
  • --pristine-tar: It is an option that indicates that the imported package includes a pristine tarball, which is the original, unmodified source code of the software.
  • ${path-to-package-tar-gz}: This is a placeholder for the actual path to the package tar.gz file. You need to replace it with the correct path to the original source package file you want to import.

By using this command, you can conveniently import the original source package along with its pristine tarball and create a Git repository to manage the package's source code history.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the gbp tool