Getting Access Denied while cloning using git clone command

十年热恋 提交于 2020-02-02 13:12:26

问题


I am getting the below error while cloning my repository: please suggest

Gurudas@Gurudas MINGW64 /e/Python/Python Programs (master)
$ git clone https://github.com/Anu1996rag/Python_Basics.git
Cloning into 'Python_Basics'...
fatal: unable to access 'https://github.com/Anu1996rag/Python_Basics.git/': getaddrinfo() thread failed to start

回答1:


MINGW64 means a git bash session on Windows.

Check your git config http.proxy output as well as your echo $HTTP_PROXY output, to check if you have any proxy defined.

Check also if an SSH URL would work (provided you have configured first an SSH key , using ssh-keygen -t rsa -P "" -m PEM, and added the public one id_rsa.pub to your GitHub account)

git clone git@gihub.com:Anu1996rag/Python_Basics


来源:https://stackoverflow.com/questions/59517290/getting-access-denied-while-cloning-using-git-clone-command

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!