简体   繁体   中英

Getting Access Denied while cloning using git clone command

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM