gcloud init
PROJECT
--format
FORMAT
]--help
]--project
PROJECT_ID
]--quiet
, -q
]-h
]$ gcloud config
command.gcloud init
will do for you is cloning the Google-hosted
git repository associated with PROJECT. This repository will
automatically be connected to Google, and it will use the credentials
indicated as active
by gcloud auth list
. Pushing
to the origin’s master
branch will trigger an App Engine deployment
using the contents of that branch.PROJECT
--format
FORMAT
json
, text
, yaml
.
--help
--project
PROJECT_ID
--quiet
, -q
-h
"Hello, world!"
App Engine deployment with this
command, run the following command lines with MYPROJECT replaced by
a project you own and can use for this experiment.$ gcloud auth login $ gcloud init MYPROJECT $ cd MYPROJECT/default $ git pull https://github.com/GoogleCloudPlatform/appengine-helloworld-python $ git push origin master
core
component. See
installing components
if it is not installed.