Clone of submodule failed
crookedbard opened this issue · 1 comments
C:\repos\cocos2d-x>git submodule update --init
Cloning into 'C:/repos/cocos2d-x/tests/cpp-tests/Resources/ccs-res'...
fatal: unable to connect to github.com:
github.com[0: 140.82.121.4]: errno=Unknown error
fatal: clone of 'git://github.com/dumganhar/ccs-res.git' into submodule path 'C:/repos/cocos2d-x/tests/cpp-tests/Resources/ccs-res' failed
Failed to clone 'tests/cpp-tests/Resources/ccs-res'. Retry scheduled
Cloning into 'C:/repos/cocos2d-x/tools/bindings-generator'...
fatal: unable to connect to github.com:
github.com[0: 140.82.121.3]: errno=Unknown error
fatal: clone of 'git://github.com/cocos2d/bindings-generator.git' into submodule path 'C:/repos/cocos2d-x/tools/bindings-generator' failed
Failed to clone 'tools/bindings-generator'. Retry scheduled
Cloning into 'C:/repos/cocos2d-x/tools/cocos2d-console'...
fatal: unable to connect to github.com:
github.com[0: 140.82.121.3]: errno=Unknown error
fatal: clone of 'git://github.com/cocos2d/cocos2d-console.git' into submodule path 'C:/repos/cocos2d-x/tools/cocos2d-console' failed
Failed to clone 'tools/cocos2d-console'. Retry scheduled
Cloning into 'C:/repos/cocos2d-x/tests/cpp-tests/Resources/ccs-res'...
fatal: unable to connect to github.com:
github.com[0: 140.82.121.3]: errno=Unknown error
fatal: clone of 'git://github.com/dumganhar/ccs-res.git' into submodule path 'C:/repos/cocos2d-x/tests/cpp-tests/Resources/ccs-res' failed
Failed to clone 'tests/cpp-tests/Resources/ccs-res' a second time, aborting
Steps to Reproduce:
- git submodule update --init
git config --global url.https://github.com/.insteadOf git://github.com/
fixed this issue