使用gcloud init时遇到困难

编程入门 行业动态 更新时间:2024-10-24 12:33:18
本文介绍了使用gcloud init时遇到困难的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在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时遇到困难

本文发布于:2023-11-27 12:00:09,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:遇到困难   gcloud   init

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!