summaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
authorMike Crute <crutem@amazon.com>2017-06-15 15:33:26 -0700
committerMike Crute <mike@crute.us>2017-06-15 15:33:26 -0700
commitff5a8542073cdbddad0b80550edff9f2d7d136ca (patch)
tree6f09945a65718f2bfe84285720686ea9de3a9eaf /.gitconfig
parent631f886f0ca464b5dff0d1dd219df6da52575f6e (diff)
downloaddotfiles-ff5a8542073cdbddad0b80550edff9f2d7d136ca.tar.bz2
dotfiles-ff5a8542073cdbddad0b80550edff9f2d7d136ca.tar.xz
dotfiles-ff5a8542073cdbddad0b80550edff9f2d7d136ca.zip
Use git conditional includes
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig29
1 files changed, 28 insertions, 1 deletions
diff --git a/.gitconfig b/.gitconfig
index c52ac04..425de61 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -1,6 +1,5 @@
1[user] 1[user]
2 name = Mike Crute 2 name = Mike Crute
3 email = mcrute@gmail.com
4 3
5[core] 4[core]
6 whitespace = warn 5 whitespace = warn
@@ -90,6 +89,15 @@
90 append-cr-url = true 89 append-cr-url = true
91 pull-request-by-default = true 90 pull-request-by-default = true
92 91
92[transfer]
93 fsckobjects = true
94
95[fetch]
96 fsckobjects = true
97
98[receive]
99 fsckObjects = true
100
93[git-pair] 101[git-pair]
94 email = mcrute@gmail.com 102 email = mcrute@gmail.com
95 103
@@ -105,3 +113,22 @@
105 authors = Len Thomas <1970inazuma@gmail.com> 113 authors = Len Thomas <1970inazuma@gmail.com>
106 authors = Michael Lemley <michael.lemley@leandog.com> 114 authors = Michael Lemley <michael.lemley@leandog.com>
107 authors = Huey Peterson <eyston@gmail.com> 115 authors = Huey Peterson <eyston@gmail.com>
116
117# Context-specific Config Overrides
118#
119# These have to come last. Config sections are merged and keys can be
120# duplicated but the last one in "wins"
121[includeIf "gitdir:/local/home/crutem/"]
122 path = ~/amazon-bin/.gitconfig
123
124[includeIf "gitdir:/home/local/ANT/crutem/"]
125 path = ~/amazon-bin/.gitconfig
126
127[includeIf "gitdir:/home/crutem/"]
128 path = ~/amazon-bin/.gitconfig
129
130[includeIf "gitdir:/home/mcrute/"]
131 path = ~/.gitconfig-personal
132
133[includeIf "gitdir:/Users/mcrute/"]
134 path = ~/.gitconfig-personal