我正在尝试从Google云存储库将远程存储库克隆到本地存储库。我的系统是Kubuntu 14.04。
首先,我使用以下命令创建了一个空的本地git存储库:
git init test
然后我尝试使用以下命令:
cd test
git pull https://source.developers.google.com/p/{project_id}
Username for 'https://source.developers.google.com': #########
Password for 'https://########@source.developers.google.com':
但是我遇到了以下错误:
致命错误:对于 https://source.developers.google.com/p/{project_id}/,身份验证失败。
我的用户名和密码是正确的,我已经尝试在 SO 上寻找解决方案,但它是关于 GitHub 而不是 Google 云存储库。
非常感谢您的帮助。
credential.helper
才能使用存储库:https://cloud.google.com/tools/cloud-repositories/docs/cloud-repositories-local-repository 您是否已经安装了它? - eckes