在gcloud上看到了一段甜美的视频,并想尝试一下,但一开始就遭到阻挠。我做了安装程序,下载了工具,运行gcloud auth login,都很好。试图启动一个项目,并得到一个错误,我不知道如何解决。
Saw a sweet video on gcloud and wanted to give it a shot but was stymied at the start. I did the setup, downloaded the tools, ran gcloud auth login, all good. Tried to init a project and got an error I'm not sure how to fix.
$ gcloud init my-awesome-project-555 Initialized gcloud directory in [/Users/freddy/my-awesome-project-555/.gcloud]. Cloning [source.developers.google/p/my-awesome-project-555/r/default] into [default]. Initialized empty Git repository in /Users/freddy/my-awesome-project-555/default/.git/ fatal: remote error: 403 Forbidden ERROR: Unable to initialize project [my-awesome-project-555], cleaning up [/Users/freddy/my-awesome-project-555]. ERROR: (gcloud.init) Could not fetch repository. $好的措施:
For good measure:
$ which git /usr/local/git/bin/git $ git --version git version 1.7.12.1 $我在使用OSX 10.9.2的Macbook Air上
I'm on a macbook air with OSX 10.9.2
关于我可能做错什么想法?
Any ideas on what I may be doing wrong?
推荐答案gcloud auth和git之间的整合只适用于版本为1.8及以上的git客户端。请尝试更新您的git客户端,然后重试。我们将在未来版本中为此添加更明确的错误消息。谢谢!
The integration between gcloud auth and git only works for git clients version 1.8 and up. Please try updating your git client and try again. We will add a more clear error message for this in a future release. Thanks!
更多推荐
使用gcloud init时遇到困难
发布评论