threads / discuss / 42619

Git clone 2.9.0

Subject: Git clone 2.9.0

## tl;dr

2 messages between Jun 16, 2016 and Jun 16, 2016.

replies: 1people: 2as markdown or json

Wojciech Rybiński· Jun 15, 2016, 13:08 UTC · lore
Hi,
I have installed version 2.9.0 and when I’m trying to clone repo with specific tag I get error: unknown option `single-branch’ and next warning: Remote branch a3.0.26 not found in upstream origin, using HEAD instead. My command looks like that: git clone --single-branch -b a3.0.26 git@… and it’s working with git version 2.7.4 on another machine. What should I do to clone repo with this tag using version 2.9.0? I found info that this option is enable in this version.

Best, Wojciech Rybiński

Duy Nguyen· Jun 15, 2016, 13:47 UTC · re: Wojciech Rybiński · lore

Re: Git clone 2.9.0

On Wed, Jun 15, 2016 at 8:08 PM, Wojciech Rybiński <w.rybinski@webankieta.pl> wrote:

> Hi,
>
> I have installed version 2.9.0 and when I’m trying to clone repo with specific tag I get error: unknown option `single-branch’ and next warning: Remote branch a3.0.26 not found in upstream origin, using HEAD instead. My command looks like that: git clone --single-branch -b a3.0.26 git@… and it’s working with git version 2.7.4 on another machine. What should I do to clone repo with this tag using version 2.9.0? I found info that this option is enable in this version.
I can't reproduce. What does this command show to you?
GIT_TRACE=1 git clone -h
-- 
Duy

← back to recent threads