dotfiles/.config/git/config

103 lines
1.9 KiB
Text
Raw Normal View History

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