nvie / gitflow

Git extensions to provide high-level repository operations for Vincent Driessen's branching model.

Home Page:http://nvie.com/posts/a-successful-git-branching-model/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

why can't I clone the gitflow folder?

AgusNoll opened this issue · comments

Hi !
when I try to use the command to install gitflow.
$ git clone --recursive git://github.com/nvie/gitflow.git

I get this error:
Cloning into 'gitflow'...
fatal: unable to connect to github.com:
github.com[0: 20.201.28.151]: errno=Unknown error

Does anyone know why it happens?

I have the same problem, it seems that the issue is related to cloning shFlags submodule.

fatal: clone of 'git://github.com/nvie/shFlags.git' into submodule path '.../gitflow/shFlags' failed
Failed to clone 'shFlags'. Retry scheduled

...

fatal: clone of 'git://github.com/nvie/shFlags.git' into submodule path '.../gitflow/shFlags' failed
Failed to clone 'shFlags' a second time, aborting
commented

the issue is resolved by changing line 14 in .gitconfig. replace git://... by https://....

image

thanks to @BetterCallBene for pointing it out!