diff options
| -rw-r--r-- | git/config (renamed from git/gitconfig) | 3 | ||||
| -rw-r--r-- | git/config-up2parts | 3 | ||||
| -rwxr-xr-x | install.sh | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/git/gitconfig b/git/config index 7037c8f..778e580 100644 --- a/git/gitconfig +++ b/git/config | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | email = ts@its1.de | 2 | email = ts@its1.de |
| 3 | name = Thomas Schmucker | 3 | name = Thomas Schmucker |
| 4 | 4 | ||
| 5 | [includeIf "gitdir:~/**/up2parts-*/"] | ||
| 6 | path = ~/.config/git/config-up2parts | ||
| 7 | |||
| 5 | [init] | 8 | [init] |
| 6 | defaultBranch = master | 9 | defaultBranch = master |
| 7 | 10 | ||
diff --git a/git/config-up2parts b/git/config-up2parts new file mode 100644 index 0000000..181d750 --- /dev/null +++ b/git/config-up2parts | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | [user] | ||
| 2 | email = thomas.schmucker@up2parts.com | ||
| 3 | |||
| @@ -28,7 +28,7 @@ link_gdb() { | |||
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | link_gitconfig() { | 30 | link_gitconfig() { |
| 31 | link "$SCRIPT_DIR/git/gitconfig" "$HOME/.gitconfig" | 31 | link "$SCRIPT_DIR/git" "$CONFIG/git" |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | link_mailcap() { | 34 | link_mailcap() { |
