gitflow icon indicating copy to clipboard operation
gitflow copied to clipboard

why can't I clone the gitflow folder?

Open AgusNoll opened this issue 1 year ago • 3 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?

AgusNoll avatar Jul 12 '22 15:07 AgusNoll

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

abrahamnm avatar Jul 19 '22 18:07 abrahamnm

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

image

thanks to @BetterCallBene for pointing it out!

masaaldosey avatar Aug 04 '22 13:08 masaaldosey

Does anyone know why it happens?

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

ryandesign avatar Jan 22 '24 08:01 ryandesign