2

我正在尝试以下标准命令序列:

git clone https://code.google.com/p/steambmc/
cd steambmc
[made changes]
git commit -a
[added commit message]
git push

我已经在 中设置了我的用户名/密码.netrc

当我尝试这些时,前两个成功,但最后一个似乎失败:

fatal: unable to access 'https://code.google.com/p/steambmc/': The requested URL returned error: 500

我也试过git://(只是挂起)和http://(有同样的错误。)

git版本1.8.3.4在 Ubuntu Precise 上。

4

2 回答 2

4

编辑 .git\config,将 url 从 yourname@ https://code.google.com/p/xyz/更改为https://code.google.com/p/xyz/。当您推送它时,只需输入您的用户名和密码,现在它就可以正常工作了。

于 2013-08-06T02:34:26.263 回答
1

仔细检查您的 _netrc 文件或您的 repo 身份验证。我发现如果身份验证设置不正确,谷歌似乎返回 500。

于 2013-08-01T20:32:38.570 回答