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"] [filter "lfs"]
clean = git-lfs clean -- %f clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f smudge = git-lfs smudge -- %f
process = git-lfs filter-process process = git-lfs filter-process
required = true required = true
[init] [init]
defaultBranch = master defaultBranch = master
[core] [core]
excludesFile = ~/.config/gitignore excludesFile = ~/.config/gitignore
[pager] [pager]
diff = delta diff = delta
log = delta log = delta
reflog = delta reflog = delta
show = delta show = delta
[interactive] [interactive]
diffFilter = delta --color-only diffFilter = delta --color-only
[commit]
gpgsign = true [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