Further templating and abstracting details

This commit is contained in:
Alex Kelly 2021-06-01 15:49:42 -04:00
parent 02334303b1
commit 417905618a

View file

@ -31,13 +31,13 @@
[pull]
rebase = false
[user]
name = {{ .contact.work.name }}
email = {{ .contact.work.email }}
[includeIf "gitdir:~/projects/arachnitech/"]
path = ~/.gitconfig-arachnitech
name = {{ .gitconfig.work.name }}
email = {{ .gitconfig.work.email }}
[includeIf "gitdir:~/projects/{{- .gitconfig.home.config }}/"]
path = ~/.gitconfig-{{- .gitconfig.home.config }}
[includeIf "gitdir:~/projects/franklin/"]
path = ~/.gitconfig-franklin
[includeIf "gitdir:~/projects/{{- .gitconfig.work.config }}/"]
path = ~/.gitconfig-{{- .gitconfig.work.config }}
[init]
defaultBranch = main
[delta]