Difference between revisions of "GCP"

From Athenaeum
Jump to: navigation, search
Line 7: Line 7:
 
# git config user.email "[email protected]"
 
# git config user.email "[email protected]"
 
# git config user.name "James"
 
# git config user.name "James"
# git remote add origin {full repo url from Google Source}
+
# git remote add origin {full repo url from Google Source} '''ie:''' https://source.developers.google.com/p/nexus-235517/r/Nexus_Ansible

Revision as of 15:25, 15 September 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} ie: https://source.developers.google.com/p/nexus-235517/r/Nexus_Ansible