[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packaging with git: automatic setup of remotes/upstream when cloning

On 05/03/13 at 16:40 +0100, Enrico Tassi wrote:
> I'm new to the art of packaging with git, and I found a little issue
> I'm unable to solve nicely.
> I'm in the usual situation, the package and the upstrem are under git.
> Thus I have two remotes in my original repository:
>   origin	ssh://git.debian.org/git/pkg-lua/lua-lgi.git (fetch)
>   origin	ssh://git.debian.org/git/pkg-lua/lua-lgi.git (push)
>   upstream	git://github.com/pavouk/lgi.git (fetch)
> If one clones my repo, he only gets the remote named origin.

$ gbp-clone ssh://git.debian.org/git/pkg-lua/lua-lgi.git
That would setup the upstream branch automatically.


Reply to: