Im trying to clone my cloud repository to a local git repository I run the
gcloud auth login
but when running
gcloud init cognitusonlinecourses
any help would be appreciated !
Im trying to clone my cloud repository to a local git repository I run the
gcloud auth login
but when running
gcloud init cognitusonlinecourses
any help would be appreciated !
If C:\Program Files\Google\GCloud
is in your %PATH%
, a better course of action would be:
cd c:\my\path\to\en\empty\folder
gcloud init cognitusonlinecourses
That would avoid trying to do operations directly in C:\Program Files\Google\GCloud
.
The OP Ahmad Hijazi confirms in the comments that trying the same command outside of C:\Program Files works.
But it requires Git: see this answer.
Typically gcloud installation paths end with \bin
. I don't know exactly how gcloud is installed in your machine, but I would expect something like the following to work:
set PATH=C:\Git\bin;C:\Program Files\Google\cloud sdk\google-cloud-sdk\bin
The directory you're looking for should include the file gcloud.cmd
.