diff --git a/git-personal b/git-personal new file mode 100644 index 0000000..99d9e6c --- /dev/null +++ b/git-personal @@ -0,0 +1,3 @@ +[user] + name = Tim McCarthy + email = thoomfish@gmail.com diff --git a/git-sri b/git-sri new file mode 100644 index 0000000..4d131df --- /dev/null +++ b/git-sri @@ -0,0 +1,3 @@ +[user] + name = Tim McCarthy + email = tim.mccarthy@sri.com diff --git a/gitconfig b/gitconfig index 663e651..bf32afb 100644 --- a/gitconfig +++ b/gitconfig @@ -1,6 +1,9 @@ -[user] - name = Tim McCarthy - email = tim.mccarthy@sri.com +[include] + path=~/.dotfiles/git-personal +[IncludeIf "gitdir/i:~/SRI/"] + path=~/.dotfiles/git-sri +[IncludeIf "gitdir/i:~/Projects/PRISM/"] + path=~/.dotfiles/git-sri [color] ui = true [alias]