aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2017-08-08 20:47:26 -0700
committerJakob Odersky <jakob@odersky.com>2017-08-08 20:47:26 -0700
commitf8a6109237d4bd15876bc60ee25f1a201f05b7b3 (patch)
treef44e6a8eb493088f2201669f98d73b219dda9e21
parentc4783b8eec1212aef8d0477cb41d0310a4aefa23 (diff)
downloaddotfiles-f8a6109237d4bd15876bc60ee25f1a201f05b7b3.tar.gz
dotfiles-f8a6109237d4bd15876bc60ee25f1a201f05b7b3.tar.bz2
dotfiles-f8a6109237d4bd15876bc60ee25f1a201f05b7b3.zip
Setup git conditional includes
-rw-r--r--home/.gitconfig2
-rw-r--r--home/.gitconfig_driver2
2 files changed, 4 insertions, 0 deletions
diff --git a/home/.gitconfig b/home/.gitconfig
index c651d9a..480c29e 100644
--- a/home/.gitconfig
+++ b/home/.gitconfig
@@ -14,6 +14,8 @@
[core]
editor = emacsclient --alternate-editor='' --tty
excludesfile = ~/.gitignore_global
+[includeIf "gitdir:~/src/driver/"]
+ path = .gitconfig_driver
[credential "https://git-wip-us.apache.org"]
username = jodersky
helper = "!f() { echo password=$(pass sites/apache.org); }; f" \ No newline at end of file
diff --git a/home/.gitconfig_driver b/home/.gitconfig_driver
new file mode 100644
index 0000000..7032990
--- /dev/null
+++ b/home/.gitconfig_driver
@@ -0,0 +1,2 @@
+[user]
+ email=jakob@driver.xyz \ No newline at end of file