diff options
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | gitconfig | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md index 4dda7de..0ccd276 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,13 @@ My personal configuration files for [Emacs](https://www.gnu.org/software/emacs/), [bash](https://www.gnu.org/software/bash/) and [git](https://git-scm.com/). + +## Git + +To clone repositories from Google Cloud: + +``` shell +$ git config --global url."https://source.developers.google.com/p/fcuny-code/r/".insteadOf gcloud: +``` + +You'll need to generate credentials for `.netrc` by following this [link](https://source.developers.google.com/auth/start?scopes=https://www.googleapis.com/auth/cloud-platform&state=franck.cuny@gmail.com). diff --git a/gitconfig b/gitconfig index e85333a..8914029 100644 --- a/gitconfig +++ b/gitconfig @@ -16,3 +16,5 @@ [http] postBuffer = 524288000 +[url "https://source.developers.google.com/p/fcuny-code/r/"] + insteadOf = gcloud: |