diff options
author | Franck Cuny <fcuny@twitter.com> | 2018-01-17 13:41:26 -0800 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2018-01-17 13:41:26 -0800 |
commit | ac04caef3263bb28c91671b0e1f59591ff7be7db (patch) | |
tree | 0cd6f22f5e126697c0f8fb46a66489d70c734ed4 | |
parent | [emacs] Add back my theme and switch font size / family. (diff) | |
download | emacs.d-ac04caef3263bb28c91671b0e1f59591ff7be7db.tar.gz |
[git] Add configuration for GCloud repositories.
-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: |