diff options
author | Jakob Odersky <jakob@odersky.com> | 2017-08-08 20:47:26 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2017-08-08 20:47:26 -0700 |
commit | f8a6109237d4bd15876bc60ee25f1a201f05b7b3 (patch) | |
tree | f44e6a8eb493088f2201669f98d73b219dda9e21 /home | |
parent | c4783b8eec1212aef8d0477cb41d0310a4aefa23 (diff) | |
download | dotfiles-f8a6109237d4bd15876bc60ee25f1a201f05b7b3.tar.gz dotfiles-f8a6109237d4bd15876bc60ee25f1a201f05b7b3.tar.bz2 dotfiles-f8a6109237d4bd15876bc60ee25f1a201f05b7b3.zip |
Setup git conditional includes
Diffstat (limited to 'home')
-rw-r--r-- | home/.gitconfig | 2 | ||||
-rw-r--r-- | home/.gitconfig_driver | 2 |
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 |