Files
dotfiles/.config/git/config

50 lines
1.1 KiB
Plaintext

[advice]
addIgnoredFile = off
detachedHead = off
[alias]
branches = track
fixes = log -1 --pretty=fixes
root = rev-parse --show-toplevel
spull = "!__git_spull() { git pull \"$@\" && git submodule sync --recursive && git submodule update --init --recursive; }; __git_spull"
track = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/zsh/autoload/git/git-track\""
[branch]
autosetuprebase = always
[color "status"]
added = 076
untracked = 014
[commit]
gpgsign = true
verbose = true
[core]
abbrev = 12
excludesfile = ~/.config/git/ignore
pager = diff-so-fancy | less --tabs=8 -Rg -+FX -p'^(commit|added|deleted|modified|renamed|tag|(Submodule .* [a-f0-9]+[.]+[a-f0-9]+)|(stash@{[0-9]+}))[: ]'
[diff]
submodule = log
tool = nvimdiff
[difftool "meld"]
path = /usr/bin/meld
[include]
path = user.config
[init]
defaultBranch = main
[merge]
log = true
suppressDest = *
tool = nvimdiff
[pretty]
fixes = Fixes: %h (\"%s\")
[pull]
ff = yes
rebase = true
[push]
default = current
[rebase]
autostash = true
[status]
submodulesummary = true
[user]
email = druckdev@protonmail.com
name = Julian Prein
signingkey = C0A44F69F2E29F6586C86B96CA6B3A516FAC2555