updated git config to use seperate user profiles

This commit is contained in:
Niklas Kapelle 2023-11-01 23:23:01 +01:00
parent a0907a888f
commit 7ee2892ec1
Signed by: niklas
GPG Key ID: 4EB651B36D841D16
3 changed files with 23 additions and 11 deletions

View File

@ -1,23 +1,26 @@
[user]
name = Niklas Kapelle
email = niklas@kapelle.org
signingkey = 4EB651B36D841D16
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[init]
defaultBranch = master
[core]
excludesFile = ~/.config/gitignore
[pager]
diff = delta
log = delta
reflog = delta
show = delta
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
diffFilter = delta --color-only
[commit]
gpgsign = true
diffFilter = delta --color-only
[user]
useconfigonly = true
[includeIf "hasconfig:remote.*.url:**/*git.kapelle.org:*/**"]
path = ~/.config/git/private.inc

6
.config/git/private.inc Normal file
View File

@ -0,0 +1,6 @@
[user]
name = Niklas Kapelle
email = niklas@kapelle.org
signingkey = 4EB651B36D841D16
[commit]
gpgsign = true

3
.config/git/public.inc Normal file
View File

@ -0,0 +1,3 @@
[user]
name = Djeeberjr
email = djeeberjr@gmail.com