From 1136b53a4c6af22cd40e5827de8ab7a542ae5520 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Mon, 6 Jan 2020 18:23:38 -0800 Subject: [PATCH] git: Split identity by role --- git/.gitignore | 1 + git/config | 4 +--- git/config-professional | 3 +++ personal.conf.yaml | 1 + professional.conf.yaml | 2 ++ 5 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 git/config-professional create mode 100644 professional.conf.yaml diff --git a/git/.gitignore b/git/.gitignore index 6d05079..e49bcfd 100644 --- a/git/.gitignore +++ b/git/.gitignore @@ -1 +1,2 @@ config-os +config-role diff --git a/git/config b/git/config index 71cafc2..94c85b1 100644 --- a/git/config +++ b/git/config @@ -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 diff --git a/git/config-professional b/git/config-professional new file mode 100644 index 0000000..bef44e2 --- /dev/null +++ b/git/config-professional @@ -0,0 +1,3 @@ +[user] + name = Jeremy Kaplan + email = jeremy.kaplan@gusto.com diff --git a/personal.conf.yaml b/personal.conf.yaml index 5978ec7..cc6e0ad 100644 --- a/personal.conf.yaml +++ b/personal.conf.yaml @@ -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/ diff --git a/professional.conf.yaml b/professional.conf.yaml new file mode 100644 index 0000000..681a1d5 --- /dev/null +++ b/professional.conf.yaml @@ -0,0 +1,2 @@ +- link: + ~/.config/git/config-role: git/config-professional