Clone Project From Google Cloud Platform Source Repository

  • Posted on: 25 January 2015
  • By: oon

If you have git repository on Google Cloud Platform, this is how to clone the project (with previously login via gcloud tools).

o:py oon$ gcloud auth login
Your browser has been opened to visit:

    https://accounts.google.com/o/oauth2/auth?redirect_uri=http%3A%2F%2Flocalhost%3A8085%2F...

Saved Application Default Credentials.

You are now logged in as [oon...@gmail.com].
Your current project is [javajazz].  You can change this setting by running:
  $ gcloud config set project PROJECT

o:py oon$ gcloud config set project javajazz

o:py oon$ gcloud init javajazz
Initialized gcloud directory in [/Users/oon/py/javajazz/.gcloud].
Cloning [https://source.developers.google.com/p/javajazz/r/default] into [default].
Cloning into '/Users/oon/py/javajazz/default'...
remote: Counting objects: 759, done.
Receiving objects: 100% (759/759), 2.56 MiB | 937.00 KiB/s, done.
Resolving deltas: 100% (132/132), done.
Checking connectivity... done.
Project [javajazz] was initialized in [/Users/oon/py/javajazz].

o:py oon$ cd javajazz/default/

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.