I am attempting a push of the an Eclipse project's local Git repository into a Google Cloud Repository for the first time.
To this end I select Team
| Push Branch 'master'
from my Eclipse (Mars) project's context menu in the Eclipse Project Explorer and then provide the following information:
- Remote name:
google
- URI:
https://source.developers.google.com/p/<x>/
wherex
is the name of my Google Cloud Platform project - User: my Google account name of the form
<y>@gmail.com
, i.e. a valid e-mail address - Password: my Google account password
Next, I am presented twice with a further dialog box that again asks for credentials for the repository at https://source.developers.google.com/p/<x>/
(as if the first one would have been rejected, but why?) and I provide the same credentials (User, Password) two more times.
At this point, I run into this error message:
Can´t connect to any URI: https://source.developers.google.com/p/<x>/
(https://source.developers.google.com/p/<x>/ not authorized)
What could be wrong? Am I supposed to use another credential than the (global) one for my Google Account when pushing to a Google Cloud Repository (as would seem wise from a security perspective), and if so, how could I obtain one? Overall, what is the right recipe for executing this kind of push from inside Eclipse as opposed to on a command-line?