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

标签 eclipse git sts-springsourcetoolsuite egit google-code

我在 googlecode 中使用 Git 托管了一个项目。

我将 STS(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

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

有人知道是什么原因造成的吗?

谢谢!!

最佳答案

做如下操作:

打开 Git 存储库 View ,打开“Remotes > origin >”并单击“Change Credentials...”

进一步引用:http://www.eclipse.org/forums/index.php/t/209017/

尽情享受吧!

关于eclipse - 将更改推送到 googlecode 时 egit 中的用户名/密码无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12669000/

相关文章:

Eclipse - 下载 content.jar ... 安装插件时超时

java - GWT/GPE/App Engine : How to (intelligently) find missing . jar 并将它们复制到/WEB-INF/lib 吗?

git - 从工作中推送到 github "Bad file number"错误

eclipse - 如何防止eclipse-integration-gradle插件将子项目放置在filterResources之间?

Eclipse 在 "populate auto detected configs"时崩溃(无响应)

java - 如何正确地将共享库加载到 Eclipse 中

ruby-on-rails - 使用 Capistrano 从 Git 进行部署而无需硬重置?

windows - 在 Windows 下克隆 git repo 时,我得到 "error: unable to create file <file>... (Is a directory)"

eclipse - 在eclipse(sts)中更改为jdk 7

java - 为什么 SpringSource Tool Suite 需要导入 Java 文档注释中提到的类?