dotfiles/.config/git/config

151 lines
2.7 KiB
Plaintext
Raw Normal View History

2019-05-28 17:44:30 +02:00
[user]
name = ObserverOfTime
2021-02-22 17:41:12 +01:00
email = chronobserver@disroot.org
2019-05-28 17:44:30 +02:00
signingkey = 8A2DEA1DBAEBCA9E
[core]
2021-02-22 17:41:12 +01:00
autocrlf = false
whitespace = cr-at-eol
2019-05-28 17:44:30 +02:00
editor = ${EDITOR:-nvim}
2022-01-19 11:31:07 +01:00
askpass = ksshaskpass
2021-02-22 17:41:12 +01:00
[extensions]
objectFormat = sha256
2019-05-28 17:44:30 +02:00
2021-02-07 18:28:14 +01:00
[init]
defaultBranch = master
2020-04-25 21:12:40 +02:00
[advice]
detachedHead = false
2022-01-19 11:31:07 +01:00
skippedCherryPicks = false
2020-04-25 21:12:40 +02:00
2019-05-28 17:44:30 +02:00
[credential]
helper = store
2022-01-19 11:31:07 +01:00
[credential "https://github.com"]
helper = !gh auth git-credential
2019-05-28 17:44:30 +02:00
[commit]
2020-03-23 12:23:14 +01:00
gpgSign = true
2019-05-28 17:44:30 +02:00
status = true
2022-09-05 09:53:48 +02:00
[push]
autoSetupRemote = true
2019-05-28 17:44:30 +02:00
[status]
submoduleSummary = 1
2020-04-25 21:12:40 +02:00
[tar "tar.gz"]
command = gzip -c -f -n
[tar "tgz"]
command = gzip -c -f -n
[tar "tar.bz2"]
command = bzip2 -c -f
[tar "tar.xz"]
command = xz -c -z -
[tar "tar.zst"]
command = zstd -c -z -q -
[tar "tar.lz"]
command = lzip -c -f
[tar "tar.lz4"]
command = lz4 -q
2021-09-16 09:26:36 +02:00
[tar "tar.br"]
command = brotli -c -f
2021-02-22 17:41:12 +01:00
[pager]
diff = ${PAGER:-nvimpager}
show = ${PAGER:-nvimpager}
2019-05-28 17:44:30 +02:00
[color "diff"]
meta = yellow
[diff]
wsErrorHighlight = all
mnemonicPrefix = true
[diff "hex"]
textconv = hexdump -v -C
[diff "pdf"]
textconv = pdfinfo
[difftool]
prompt = false
2021-02-22 17:41:12 +01:00
[difftool "nvim"]
cmd = nvim -d \"$LOCAL\" \"$REMOTE\"
2020-01-20 08:03:32 +01:00
[difftool "meld"]
2021-02-22 17:41:12 +01:00
cmd = meld \"$LOCAL\" \"$REMOTE\"
2020-01-20 08:03:32 +01:00
2019-05-28 17:44:30 +02:00
[difftool "imgdiff"]
2021-02-22 17:41:12 +01:00
cmd = compare \"$LOCAL\" \"$REMOTE\" png:- | \
2019-05-28 17:44:30 +02:00
montage -geometry 400x -font \
2021-02-22 17:41:12 +01:00
Liberation-Sans -label l/%f \"$LOCAL\" \
-label diff - -label r/%f \"$REMOTE\" x:
2019-05-28 17:44:30 +02:00
[merge]
tool = fugitive
2019-06-11 15:44:42 +02:00
[mergetool]
keepBackup = false
2019-05-28 17:44:30 +02:00
[mergetool "fugitive"]
2021-02-22 17:41:12 +01:00
cmd = nvim -f +Gvdiffsplit\\! \"$MERGED\"
2019-05-28 17:44:30 +02:00
2020-01-20 08:03:32 +01:00
[mergetool "meld"]
2021-02-22 17:41:12 +01:00
cmd = meld \"$LOCAL\" \"$BASE\" \"$REMOTE\" -o \"$MERGED\"
2020-01-20 08:03:32 +01:00
2019-05-28 17:44:30 +02:00
[pretty]
log = format:%h %s%d [%cn] (%ad)
2021-02-22 17:41:12 +01:00
color = format:%C(cyan)%h %Creset%s%C(white)%d %C(yellow)[%an] %Cred(%ad)
2019-05-28 17:44:30 +02:00
[grep]
lineNumber = true
patternType = perl
fallbackToNoIndex = true
[alias]
last = log -1 HEAD
hist = log --date=short --graph --pretty=log
2021-02-22 17:41:12 +01:00
ls = log --date=short --graph --pretty=color --decorate
2021-02-07 18:28:14 +01:00
rev = log --decorate --reverse --no-merges --stat @{1}..
2019-05-28 17:44:30 +02:00
amend = commit --amend -uno -a
2019-06-19 20:43:45 +02:00
wdiff = diff --word-diff
conflicts = diff --name-only --diff-filter=U
root = rev-parse --show-toplevel
2019-06-19 20:43:45 +02:00
shallow = clone --single-branch --depth=1
2021-02-22 17:41:12 +01:00
compare = !git log $1...$2 --format=%m\\ %h\\ %s --left-right
2021-09-16 09:26:36 +02:00
repush = !git commit --amend -a --no-edit && git push --force-with-lease
2019-05-28 17:44:30 +02:00
2021-02-07 18:28:14 +01:00
[filter "lfs"]
required = true
2021-02-22 17:41:12 +01:00
process = git-lfs filter-process
2021-02-07 18:28:14 +01:00
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[url "git@github.com:"]
2019-05-28 17:44:30 +02:00
insteadOf = http://github.com/
insteadOf = @gh:
2021-02-07 18:28:14 +01:00
[url "git@gitlab.com:"]
2019-05-28 17:44:30 +02:00
insteadOf = http://gitlab.com/
insteadOf = @gl:
2021-02-07 18:28:14 +01:00
[url "git@git.disroot.org:"]
2020-07-15 17:51:59 +02:00
insteadOf = http://git.disroot.org/
insteadOf = @disroot:
2021-02-07 18:28:14 +01:00
[url "aur@aur.archlinux.org:"]
2019-05-28 17:44:30 +02:00
insteadOf = http://aur.archlinux.org/
insteadOf = @aur:
2020-01-20 08:03:32 +01:00
# vim:noet:sw=4:ts=4: