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

# gbp-import-dscs(1)

Import several versions of a Debian source package into a Git repository, sorted by version number

## NAME

gbp-import-dscs - Import several versions of a Debian source package into a Git repository, sorted by version number

## SYNOPSIS

FC**gbp import-dscs**F\[0\]  \[FC**options**F\[0\]\] \[FC**gbp import-dsc options**F\[0\]\] *pkg\_1.dsc* *pkg\_2.dsc* *...*  or FC**gbp import-dscs**F\[0\]  {--debsnap} \[FC**options**F\[0\]\] \[FC**gbp import-dsc options**F\[0\]\] {*package*}

## DESCRIPTION

**gbp import-dscs** imports several versions of a Debian source package into a Git repository. To do so, it sorts the packages by their versions first, and then imports them via calling **gbp import-dsc** on each package.

If the current directory isn't a Git repository already, the repository is created in a subdir of the current working directory, named after the first imported package, otherwise the Git repository in the current working directory is being used. This allows for incremental imports.

## OPTIONS

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

  Fetch snapshots from snapshots.debian.org using debsnap.

- FC**--ignore-repo-config**F\[0\]

  Ignore FC*gbp.conf*F\[0\] files stored in the git repository itself. This can be useful to ignore branch information and other options shipped in the package source.

All other options are passed on verbatim to **gbp import-dsc**.

## EXAMPLES

When run in an empty directory, download all versions of package *entr* available at Debian snapshots and import them into a new git repository:

```
FC
      gbp import-dscs --verbose --pristine-tar --create-missing-branches --debsnap entr
    F[0]
```

## SEE ALSO

[**gbp-import-dsc**(1)](/gbp-import-dsc/1.md), [**gbp-buildpackage**(1)](/gbp-buildpackage/1.md), [**gbp-import-orig**(1)](/gbp-import-orig/1.md), [**gbp-dch**(1)](/gbp-dch/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\]\>
