[git-buildpackage] Fwd: gbp clone and the pristine-tar branch

Guido Günther agx at sigxcpu.org
Sun Jul 8 08:39:45 CEST 2018

On Sat, Jul 07, 2018 at 03:05:29PM -0400, Tong Sun wrote:
>    Hi, 
>    I have a question
>    following [3]https://honk.sigxcpu.org/piki/development/debian_packages_in_git/
>    --
>    `gbp clone` will create the pristine-tar branch, right? 
>      After initially cloning with gbp clone you can run gbp pull to update
>      your debian, upstream and pristine-tar branches from the remote site. So
>      the complete workflow for simple team maintenance looks like this:
>      # Initially clone the repo once
>      gbp clone git://[4]git.debian.org/pkg-libvirt/gtk-vnc.git
>    But having done that, I'm still not getting the pristine-tar
>    branch. 

Please try

  gbp clone --pristine-tar

if you haven't enabled pristine-tar via ~/.gbp.conf. See "man gbp-clone".
 -- Guido

More information about the git-buildpackage mailing list