Unable to Connect to GitHub.com For Cloning

Solved 1 Answers 32 Views Others
0 1

I am trying to clone the angular-phonecat git repository https://github.com/angular/angular-phonecat , but i am getting the following message when i enter the command in my gitbash

Message I got when i type "$ git clone git://github.com/angular/angular-phonecat.git" in Git Bash:

$ git clone git://github.com/angular/angular-phonecat.git Cloning into 'angular-phonecat'... fatal: unable to connect to github.com: github.com[0:]: errno=No error

ScreenShot: screenshot

Please help in cloning the GIT Repo. Thanks in advance for any help.

1 Answer

Best answer

You can make git replace the protocol for you

git config --global url."https://".insteadOf git://
answered by (151 points)
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.