Skip to content

Commit

Permalink
git: Split identity by role
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Kaplan authored and jdkaplan committed Jan 7, 2020
1 parent 323945a commit 1136b53
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions git/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
config-os
config-role
4 changes: 1 addition & 3 deletions git/config
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[user]
name = Jeremy Kaplan
email = [email protected]
[color]
ui = true
[diff]
Expand Down Expand Up @@ -47,6 +44,7 @@

[include]
path = config-os
path = config-role

[includeIf "gitdir:~/projects/"]
path = config-personal
3 changes: 3 additions & 0 deletions git/config-professional
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[user]
name = Jeremy Kaplan
email = [email protected]
1 change: 1 addition & 0 deletions personal.conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 2 additions & 0 deletions professional.conf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- link:
~/.config/git/config-role: git/config-professional

0 comments on commit 1136b53

Please sign in to comment.