Unable to Connect to GitHub.com For Cloning

0 votes

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.

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.

1 Answer

answered by (171 points)
selected by
0 votes
Best answer

You can make git replace the protocol for you

git config --global url."https://".insteadOf git://