将更改推送到googlecode时,在egit中无效的用户名/密码

Nee*_*ets 10 eclipse git google-code egit sts-springsourcetoolsuite

我有一个用Git托管在googlecode上的项目.

我正在使用STG(SpringSource工具套件)和eGit.

我在家里克隆了存储库,我可以提交并成功推送更改.我在工作中做了同样的事情,当我尝试在提交后推送更改时,它显示以下错误:

https://myuser@code.google.com/p/myproject/: Invalid username/password.
You may need to use your generated googlecode.com password; see https://code.google.com/hosting/settings
Run Code Online (Sandbox Code Playgroud)

我第一次克隆存储库时输入了googlecode生成的密码(就像我在家里做的那样,这个错误从未出现过).我尝试再次输入,没有任何变化.

有谁知道是什么原因引起的?

谢谢!!

She*_*her 20

请执行以下操作:

打开Git存储库视图,打开"Remotes> origin>"并单击"Change Credentials ..."

进一步参考:http://www.eclipse.org/forums/index.php/t/209017/

请享用!

  • 它对我不起作用..但是首选项>常规>安全>安全存储>清除密码的工作方式与http://stackoverflow.com/questions/11744224/cannot-fetch-or-pull-from-github-with中的规定相同-eclipse - 例如:It-因为-错误的密码是-S (5认同)