dotfiles/.config/git/config
histalek ed12ec088b
git: Allow for commit signing with ssh keys
Also move includeed gitconfigs to .config/git/suconfigs dir.
2023-02-19 11:43:10 +01:00

81 lines
1.5 KiB
Text

[user]
name = Histalek
email = 16392835+Histalek@users.noreply.github.com
signingkey = 19EC07547ED0CE82
[alias]
feature-branch = checkout -b
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
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = auto
[color "status"]
added = green bold
changed = yellow bold
untracked = red
[commit]
gpgsign = true
verbose = true
[core]
editor = nvim
excludesfile = ~/.config/git/gitignore
[credential]
helper = /usr/lib/git-core/git-credential-libsecret
[diff]
submodule = log
[gpg "ssh"]
allowedSignersFile = ~/.config/git/allowed_signers
[grep]
lineNumber = true
extendRegexp = true
[merge]
stat = true
[push]
default = current
# needs git version > 2.37.0
autoSetupRemote = true
[pull]
rebase = true
[includeIf "gitdir:~/Documents/Uni/"]
path = ~/.config/git/subconfigs/uni
[includeIf "gitdir:~/Repositories/uni/"]
path = ~/.config/git/subconfigs/uni
[includeIf "gitdir:~/Repositories/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]
defaultBranch = main
[status]
submoduleSummary = true