Reputation: 21
Why does this error happen when I try to push to github? I have checked with ping and tracert and the Github connection is well but when I want to push something to Github this error is displayed. Please tell me what I should do to solve this error.
I am using Windows 7 and HTTPS with Github:
$ git push origin master fatal: unable to connect to github.com: github.com[0: 192.30.252.131]: errno=No error
Thanks
Upvotes: 2
Views: 227
Reputation: 27295
Normally you get that error if you use https://
instead of git://
for your repository.
"https://". insteadOf git://
git config --global url.
Or change that URL in your .git/config
file.
Upvotes: 2