Difference between revisions of "GCP"

From Athenaeum
Jump to: navigation, search
(Created page with "* Switch Profiles # gcloud config configurations list # gcloud config configurations activate $profile_name")
 
Line 2: Line 2:
 
# gcloud config configurations list
 
# gcloud config configurations list
 
# gcloud config configurations activate $profile_name
 
# gcloud config configurations activate $profile_name
 +
 +
* Create git repo from existing code directory
 +
# git init
 +
# git config user.email "[email protected]"
 +
# git config user.name "James"
 +
# git remote add origin {full repo url from Google Source}

Revision as of 19:07, 15 July 2019

  • Switch Profiles
  1. gcloud config configurations list
  2. gcloud config configurations activate $profile_name
  • Create git repo from existing code directory
  1. git init
  2. git config user.email "[email protected]"
  3. git config user.name "James"
  4. git remote add origin {full repo url from Google Source}