I've followed this tutorial on setting up git-gui so I can get access to google code git repositories but I am still getting clone failed. I really don't understand the problem. I have made a _netrc file and I have created a HOME environmental variable yet the problem is still there.

Is there anyone out there who could shed some light on this situation? It would be much appreciated. Thanks.

有帮助吗?

解决方案

You can debug the process with a:

set GIT_CURL_VERBOSE=1
git clone https://code.google.com/p/yourProject

Your environment variable %HOME% should reference an existing directory (not necessarily C:\HOME as in the tutorial, but any path you want), where _netrc has been created.

Then, make sure your %HOME%\_netrc file does contain:

machine code.google.com
login (your Gmail login, which is usually your email address)
password (your Gmail password)
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top