dotfiles/.config/git/config

102 lines
1.9 KiB
Text

[user]
name = histalek
email = histalek@posteo.de
signingkey = "key::ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOx25L97J5rCI/qUmvFDNbRaHTDRMxoWOGl/jHC3wv4e histalek@posteo.de"
[gpg]
format = ssh
[alias]
force-push = push --force-with-lease
ls-files = ls-tree --full-tree -r --name-only HEAD
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = ls --numstat
[blame]
ignoreRevsFile = .git-blame-ignore-revs
[branch]
sort = -committerdate
[tag]
sort = taggerdate
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = auto
[color "status"]
added = green bold
changed = yellow bold
untracked = red
[column]
ui = auto
[commit]
gpgsign = true
verbose = true
[core]
editor = nvim
excludesfile = ~/.config/git/gitignore
pager = delta
[credential]
helper = /usr/lib/git-core/git-credential-libsecret
[diff]
submodule = log
; algorithm = patience
algorithm = histogram
compationHeuristic = true
tool = nvimdiff
[difftool "nvimdiff"]
cmd = nvim -d \"$LOCAL\" \"$REMOTE\" -c \"wincmd w\" -c \"wincmd L\"
[gpg]
format = ssh
[gpg "ssh"]
allowedSignersFile = ~/.config/git/allowed_signers
[grep]
lineNumber = true
extendRegexp = true
[merge]
stat = true
conflictStyle = zdiff3
[push]
default = simple
autoSetupRemote = true
[pull]
rebase = true
[rerere]
enabled = true
[includeIf "gitdir:~/Documents/Uni/"]
path = ~/.config/git/subconfigs/uni
[includeIf "gitdir:~/Repositories/uni/"]
path = ~/.config/git/subconfigs/uni
[includeIf "gitdir:~/Repositories/github/"]
path = ~/.config/git/subconfigs/github
[includeIf "gitdir:~/Repositories/gitlab_com/"]
path = ~/.config/git/subconfigs/gitlab_com
[init]
defaultBranch = main
[status]
submoduleSummary = true