invalid username/password in egit when pushing changes to googlecode

Neets picture Neets · Oct 1, 2012 · Viewed 15k times · Source

I have a project hosted in googlecode with Git.

I'm using STS (SpringSource Tool Suite) with eGit.

I cloned the repository at home and I could commit & push the changes successfully. I did the same thing at work and when I try to push the changes after commiting them, it shows the following error:

https://[email protected]/p/myproject/: Invalid username/password.
You may need to use your generated googlecode.com password; see https://code.google.com/hosting/settings

I entered the googlecode generated password when I first cloned the repository (as I did at home, and this error never showed up). I try entering it again and nothing changes.

Does anyone know what could be causing this?

Thanks!!

Answer

Shekh Akther picture Shekh Akther · Nov 12, 2012

Do as following:

Open Git repositories view, open "Remotes > origin > " and click "Change Credentials..."

Further reference: http://www.eclipse.org/forums/index.php/t/209017/

Enjoy!