After performing git push -u origin master
, I got:
fatal: unable to access \'https://github.com/xxxx/xxxx.git
Laurent's answer worked for me. (I am behind corporate firewall.) In my case,
I removed the proxy setting in .gitconfig
file.
Everything just work fine. I can clone from a remote repo.
When i wanted to push to the remote repo, I generated a ssh key
. Then I am able to push.
Hope it saves someones 2 hours.