feat(git): Update config and default identity

This commit is contained in:
histalek 2025-01-18 20:39:53 +01:00
parent a408affe5c
commit c4d1ec06f3
Signed by: histalek
SSH key fingerprint: SHA256:6a6N2Wzk73nwURUHC/ubbCyqdB6yfie0Jv/NGvRcsIE

View file

@ -1,7 +1,10 @@
[user] [user]
name = Histalek name = histalek
email = 16392835+Histalek@users.noreply.github.com email = histalek@posteo.de
signingkey = 19EC07547ED0CE82 signingkey = "key::ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOx25L97J5rCI/qUmvFDNbRaHTDRMxoWOGl/jHC3wv4e histalek@posteo.de"
[gpg]
format = ssh
[alias] [alias]
force-push = push --force-with-lease force-push = push --force-with-lease
@ -16,6 +19,9 @@
[branch] [branch]
sort = -committerdate sort = -committerdate
[tag]
sort = taggerdate
[color] [color]
diff = auto diff = auto
status = auto status = auto
@ -38,19 +44,24 @@
[core] [core]
editor = nvim editor = nvim
excludesfile = ~/.config/git/gitignore excludesfile = ~/.config/git/gitignore
pager = delta
[credential] [credential]
helper = /usr/lib/git-core/git-credential-libsecret helper = /usr/lib/git-core/git-credential-libsecret
[diff] [diff]
submodule = log submodule = log
algorithm = patience ; algorithm = patience
algorithm = histogram
compationHeuristic = true compationHeuristic = true
tool = nvimdiff tool = nvimdiff
[difftool "nvimdiff"] [difftool "nvimdiff"]
cmd = nvim -d \"$LOCAL\" \"$REMOTE\" -c \"wincmd w\" -c \"wincmd L\" cmd = nvim -d \"$LOCAL\" \"$REMOTE\" -c \"wincmd w\" -c \"wincmd L\"
[gpg]
format = ssh
[gpg "ssh"] [gpg "ssh"]
allowedSignersFile = ~/.config/git/allowed_signers allowedSignersFile = ~/.config/git/allowed_signers
@ -60,11 +71,10 @@
[merge] [merge]
stat = true stat = true
conflictStyle = diff3 conflictStyle = zdiff3
[push] [push]
default = simple default = simple
# needs git version > 2.37.0
autoSetupRemote = true autoSetupRemote = true
[pull] [pull]
@ -79,18 +89,12 @@
[includeIf "gitdir:~/Repositories/uni/"] [includeIf "gitdir:~/Repositories/uni/"]
path = ~/.config/git/subconfigs/uni path = ~/.config/git/subconfigs/uni
[includeIf "gitdir:~/Repositories/github/"]
path = ~/.config/git/subconfigs/github
[includeIf "gitdir:~/Repositories/gitlab_com/"] [includeIf "gitdir:~/Repositories/gitlab_com/"]
path = ~/.config/git/subconfigs/gitlab_com path = ~/.config/git/subconfigs/gitlab_com
[includeIf "gitdir:~/Repositories/saibotk_de/"]
path = ~/.config/git/subconfigs/histalek_de
[includeIf "gitdir:~/Repositories/histalek_de/"]
path = ~/.config/git/subconfigs/histalek_de
[includeIf "gitdir:~/.dotfiles/"]
path = ~/.config/git/subconfigs/histalek_de
[init] [init]
defaultBranch = main defaultBranch = main