GCP

From Athenaeum
Jump to: navigation, search
  • 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
  5. git add .
  6. git commit -m "Initial Commit"