user2439278
user2439278

Reputation: 1214

Cloning repository from Github to windows

Im using TortoiseGit and MsysGit in my Windows 7. I need to clone repository from github to my desktop. I did right click ->Git Clone->https://github.com/username/sample.git.I get the response as:

Cloning into 'D:\repo\sample'...
error: The requested URL returned error: 407 while accessing https://github.com/TruMobi/sample.git/info/refs?service=git-upload-pack
fatal: HTTP request failed

I had done the proxy settings in TortoiseGit. Please help me to fix this issue.

Upvotes: 3

Views: 5511

Answers (1)

jtravaglini
jtravaglini

Reputation: 1746

HTTP 407 is indicates you need an HTTP Proxy Username/Password configured. I can't help you with what your proxy server is, or the credential to use it - but I'd check with the network folks wherever you're at.

You can do this with git config command.

$ git config --global http.proxy http://proxyuser:[email protected]:8080

I'm not certain if TortoiseGit has a UI to set this, but it most likely does. It will undoubtedly respect the underlying git CLI setting, so I'd go with that just to be sure.

Also, see here for more discussion.

Upvotes: 6

Related Questions