1
0
Fork 0

git: Split identity by role

This commit is contained in:
Jeremy Kaplan 2020-01-06 18:23:38 -08:00 committed by Jeremy Kaplan
commit 1136b53a4c
5 changed files with 8 additions and 3 deletions

1
git/.gitignore vendored
View file

@ -1 +1,2 @@
config-os
config-role

View file

@ -1,6 +1,3 @@
[user]
name = Jeremy Kaplan
email = jdkaplan@metagram.net
[color]
ui = true
[diff]
@ -47,6 +44,7 @@
[include]
path = config-os
path = config-role
[includeIf "gitdir:~/projects/"]
path = config-personal

3
git/config-professional Normal file
View file

@ -0,0 +1,3 @@
[user]
name = Jeremy Kaplan
email = jeremy.kaplan@gusto.com

View file

@ -2,6 +2,7 @@
~/.Xdefaults: X/.Xdefaults
~/.Xresources: X/.Xresources
~/.config/dunst: dunst/
~/.config/git/config-role: git/config-personal
~/.config/i3: i3/
~/.config/pianobar: pianobar/
~/.config/polybar: polybar/

2
professional.conf.yaml Normal file
View file

@ -0,0 +1,2 @@
- link:
~/.config/git/config-role: git/config-professional