Files
dotfiles/.config/git/config
Julian Prein ef3e3387b7 git: Remove core.excludesfile option
Remove the `core.excludesfile` option as it only sets the default value
`${XDG_CONFIG_HOME:-$HOME/.config}/git/ignore` but while hardcoding the
default value `~/.config` for `XDG_CONFIG_HOME`.
2022-06-23 23:58:53 +02:00

65 lines
1.5 KiB
Plaintext

[advice]
addIgnoredFile = off
detachedHead = off
[alias]
# Automatically fixup/squash marked commits without opening the
# git-rebase-todo
autofixup = -c sequence.editor=/bin/true rebase -i --autosquash
autosquash = autofixup
branches = track
checkout-worktree = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/zsh/autoload/git/git-checkout-worktree\""
filter-repo = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/git/git-filter-repo/git-filter-repo\""
fixes = log -1 --pretty=fixes
root = rev-parse --show-toplevel
signoff = "!\"${XDG_CONFIG_HOME:-$HOME/.config}/zsh/autoload/git/git-signoff\""
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\""
[blame]
date = short
[branch]
autosetuprebase = always
[color "status"]
added = 076
untracked = 014
[commit]
gpgsign = true
verbose = true
[core]
abbrev = 12
pager = diff-so-fancy | less --tabs=8 -Rg -+FX
[diff]
submodule = log
tool = nvimdiff
[difftool "meld"]
path = /usr/bin/meld
[gpg]
program = ~/.config/gnupg/gpg.loopback
[init]
defaultBranch = main
[log]
follow = true
[merge]
log = true
suppressDest = *
[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
[include]
path = user.config