From 1a003dce525c09c166a775b89d89ca2a870322b3 Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Wed, 8 Apr 2015 12:53:55 -0700 Subject: [PATCH] use an [include] for git credentials so it can stay symlinked. ref #30 --- .gitconfig | 6 ++++++ setup-a-new-machine.sh | 2 ++ 2 files changed, 8 insertions(+) diff --git a/.gitconfig b/.gitconfig index cb1ffe2e49c..2cff99001cd 100644 --- a/.gitconfig +++ b/.gitconfig @@ -71,3 +71,9 @@ # push easily. http://stackoverflow.com/a/23918418/89484 [push] default = current + + + +[include] + # For username / github token / etc + path = ~/.gitconfig.local diff --git a/setup-a-new-machine.sh b/setup-a-new-machine.sh index c22c6b816cc..8f38936537c 100755 --- a/setup-a-new-machine.sh +++ b/setup-a-new-machine.sh @@ -72,5 +72,7 @@ echo $BASH_VERSION # should be 4.x not the old 3.2.X # symlinks! +# put/move git credentials into ~/.gitconfig.local +# http://stackoverflow.com/a/13615531/89484 ./symlink-setup.sh