我正在尝试将远程存储库从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}/
Username
和password
是正确的,我试图在SO
上找到解决方案但是GITHUB
而不是Google cloud repository
。
任何帮助将不胜感激。
答案 0 :(得分:4)
使用此命令克隆
git clone https://source.developers.google.com/p/{project_id}
您还可以参考以下链接以获得更多理解 :https://help.ubuntu.com/lts/serverguide/git.html