nvie / gitflow

Git extensions to provide high-level repository operations for Vincent Driessen's branching model.
http://nvie.com/posts/a-successful-git-branching-model/
Other
26.6k stars 2.66k forks source link

why can't I clone the gitflow folder? #6478

Open AgusNoll opened 2 years ago

AgusNoll commented 2 years ago

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?

abrahamnm commented 2 years ago

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
masaaldosey commented 2 years ago

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

image

thanks to @BetterCallBene for pointing it out!

ryandesign commented 7 months ago

Does anyone know why it happens?

https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git