Files
dotfiles/.config/git/config
Julian Prein 17433d0528 git:core.pager: Remove the search pattern
This gets really annoying as it complains in many cases that it cannot
find a match for the pattern when the pager is used for other things
than commits.
2022-02-03 18:59:00 +01:00

53 lines
1.1 KiB
Plaintext

[advice]
addIgnoredFile = off
detachedHead = off
[alias]
branches = track
filter-repo = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/git/git-filter-repo/git-filter-repo\""
fixes = log -1 --pretty=fixes
root = rev-parse --show-toplevel
spull = "!git pull \"$@\" && git submodule sync --recursive && git submodule update --init --recursive;"
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
[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
[rerere]
enabled = true
[status]
submodulesummary = true
[user]
email = druckdev@protonmail.com
name = Julian Prein
signingkey = C0A44F69F2E29F6586C86B96CA6B3A516FAC2555