我安裝的是谷歌雲SDK和Git,但是當我嘗試運行gcloud init overseas-966
(我的項目名稱),我收到此錯誤信息:谷歌雲SDK gcloud初始化
G:\>gcloud init overseas-966
WARNING: `gcloud init` will be changing soon. To clone git repo consider using `
gcloud alpha source clone` command.
Initialized gcloud directory in [G:\overseas-966\.gcloud].
Cloning [https://source.developers.google.com/p/overseas-966/r/default] into [de
fault].
ERROR: Unable to initialize project [overseas-966], cleaning up [G:\overseas-966
].
ERROR: (gcloud.init) Cannot find git. Please install git and try again.
You can find git installers at [http://git-scm.com/downloads], or use
your favorite package manager to install it on your computer.
G:\>git --version``
git version 1.9.5.msysgit.1
的Git,從[http://git-scm.com/downloads]下載並Git路徑位於PATH環境變量中。請給我一些建議。
我應該補充一點,我的git版本命令也會輸出'git version 1.9.5.msysgit.1',它工作正常。 – cherba