Difference between revisions of "GCP"
From Athenaeum
(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
- gcloud config configurations list
- 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}