问题
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