Re: gbp clone, upstream-branch is not 'upstream' but `release`

2018-07-09 Thread Andrey Rahmatullin
On Sun, Jul 08, 2018 at 06:40:58PM -0400, Tong Sun wrote:
> gbp clone -v https://github.com/neurobin/shc.git
gbp clone is for gbp repos.

> from scratch, but found that my branches are:
> 
> $ git branch -v
> * master  556fd7a release after fix #38
>   release 379c501 release after fix #38
> 
> See? the upstream-branch is not 'upstream' but called `release` instead.
> Why?
It's not an upstream-branch. It's just a branch that exists at the remote
repo.

-- 
WBR, wRAR


signature.asc
Description: PGP signature


gbp clone, upstream-branch is not 'upstream' but `release`

2018-07-08 Thread Tong Sun
Hi,

I did a

gbp clone -v https://github.com/neurobin/shc.git

from scratch, but found that my branches are:

$ git branch -v
* master  556fd7a release after fix #38
  release 379c501 release after fix #38

See? the upstream-branch is not 'upstream' but called `release` instead.
Why?
Shouldn't the upstream branch default to be 'upstream'?

--upstream-branch=UPSTREAM_BRANCH
Upstream branch, default is 'upstream'

thx