dotfiles/.config/git/config

190 lines
3.5 KiB
Plaintext
Raw Permalink Normal View History

2019-05-28 15:44:30 +00:00
[user]
name = ObserverOfTime
2021-02-22 16:41:12 +00:00
email = chronobserver@disroot.org
2019-05-28 15:44:30 +00:00
signingkey = 8A2DEA1DBAEBCA9E
[core]
2021-02-22 16:41:12 +00:00
autocrlf = false
whitespace = cr-at-eol
2019-05-28 15:44:30 +00:00
editor = ${EDITOR:-nvim}
pager = ${PAGER:-nvimpager}
2022-01-19 10:31:07 +00:00
askpass = ksshaskpass
2021-02-22 16:41:12 +00:00
[extensions]
objectFormat = sha256
2019-05-28 15:44:30 +00:00
2021-02-07 17:28:14 +00:00
[init]
defaultBranch = master
2020-04-25 19:12:40 +00:00
[advice]
detachedHead = false
2022-01-19 10:31:07 +00:00
skippedCherryPicks = false
2020-04-25 19:12:40 +00:00
2019-05-28 15:44:30 +00:00
[credential]
helper = store
2022-01-19 10:31:07 +00:00
[credential "https://github.com"]
helper = !gh auth git-credential
[credential "https://gitlab.com"]
helper = !glab auth git-credential
[credential "https://framagit.org"]
helper = !glab auth git-crendential
[credential "https://gitlab.archlinux.org"]
helper = !glab auth git-crendential
[credential "https://invent.kde.org"]
helper = !glab auth git-crendential
2019-05-28 15:44:30 +00:00
[commit]
2020-03-23 11:23:14 +00:00
gpgSign = true
2019-05-28 15:44:30 +00:00
status = true
2022-09-05 07:53:48 +00:00
[push]
autoSetupRemote = true
[rebase]
autoSquash = true
2019-05-28 15:44:30 +00:00
[status]
submoduleSummary = 1
2020-04-25 19:12:40 +00: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 07:26:36 +00:00
[tar "tar.br"]
command = brotli -c -f
[color]
ui = true
2021-02-22 16:41:12 +00:00
2019-05-28 15:44:30 +00:00
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = brightgreen bold
whitespace = red reverse
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = brightgreen bold
newHighlight = brightgreen bold 22
2019-05-28 15:44:30 +00:00
[diff]
wsErrorHighlight = all
mnemonicPrefix = true
colorMoved = default
2019-05-28 15:44:30 +00:00
[diff "hex"]
textconv = hexdump -v -C
[diff "pdf"]
textconv = pdfinfo
[difftool]
prompt = false
2021-02-22 16:41:12 +00:00
[difftool "nvim"]
cmd = nvim -d \"$LOCAL\" \"$REMOTE\"
2020-01-20 07:03:32 +00:00
[difftool "meld"]
2021-02-22 16:41:12 +00:00
cmd = meld \"$LOCAL\" \"$REMOTE\"
2020-01-20 07:03:32 +00:00
[difftool "magick"]
2021-02-22 16:41:12 +00:00
cmd = compare \"$LOCAL\" \"$REMOTE\" png:- | \
2019-05-28 15:44:30 +00:00
montage -geometry 400x -font \
2021-02-22 16:41:12 +00:00
Liberation-Sans -label l/%f \"$LOCAL\" \
-label diff - -label r/%f \"$REMOTE\" x:
2019-05-28 15:44:30 +00:00
[merge]
tool = fugitive
2019-06-11 13:44:42 +00:00
[mergetool]
keepBackup = false
2019-05-28 15:44:30 +00:00
[mergetool "fugitive"]
cmd = nvim --cmd let\\ g:_mergetool=v:true +Gvdiffsplit\\! \"$MERGED\"
2019-05-28 15:44:30 +00:00
2020-01-20 07:03:32 +00:00
[mergetool "meld"]
2021-02-22 16:41:12 +00:00
cmd = meld \"$LOCAL\" \"$BASE\" \"$REMOTE\" -o \"$MERGED\"
2020-01-20 07:03:32 +00:00
2019-05-28 15:44:30 +00:00
[pretty]
log = format:%C(auto,cyan)%h %Creset%s%d %C(auto,yellow)[%an] %C(auto,red)(%ad)
2019-05-28 15:44:30 +00:00
[grep]
lineNumber = true
patternType = perl
fallbackToNoIndex = true
[diff-so-fancy]
markEmptyLines = false
[delta]
navigate = true
line-numbers = true
relative-paths = true
syntax-theme = gruvbox-dark
pager = less -R
2019-05-28 15:44:30 +00:00
[alias]
2023-11-15 17:27:45 +00:00
list = shortlog -ns
2019-05-28 15:44:30 +00:00
last = log -1 HEAD
hist = log --date=short --graph --pretty=log
2021-02-07 17:28:14 +00:00
rev = log --decorate --reverse --no-merges --stat @{1}..
2019-05-28 15:44:30 +00:00
amend = commit --amend -uno -a
2019-06-19 18:43:45 +00:00
wdiff = diff --word-diff
conflicts = diff --name-only --diff-filter=U
root = rev-parse --show-toplevel
2023-11-15 17:27:45 +00:00
head = rev-parse HEAD
2019-06-19 18:43:45 +00:00
shallow = clone --single-branch --depth=1
2021-02-22 16:41:12 +00:00
compare = !git log $1...$2 --format=%m\\ %h\\ %s --left-right
2021-09-16 07:26:36 +00:00
repush = !git commit --amend -a --no-edit && git push --force-with-lease
2019-05-28 15:44:30 +00:00
2021-02-07 17:28:14 +00:00
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
2021-02-07 17:28:14 +00:00
[url "git@github.com:"]
2019-05-28 15:44:30 +00:00
insteadOf = http://github.com/
insteadOf = @gh:
2021-02-07 17:28:14 +00:00
[url "git@gitlab.com:"]
2019-05-28 15:44:30 +00:00
insteadOf = http://gitlab.com/
insteadOf = @gl:
2021-02-07 17:28:14 +00:00
[url "git@git.disroot.org:"]
2020-07-15 15:51:59 +00:00
insteadOf = http://git.disroot.org/
insteadOf = @disroot:
2023-11-15 17:27:45 +00:00
[url "git@gitlab.archlinux.org:"]
insteadOf = http://gitlab.archlinux.org/
insteadOf = @arch:
2021-02-07 17:28:14 +00:00
[url "aur@aur.archlinux.org:"]
2019-05-28 15:44:30 +00:00
insteadOf = http://aur.archlinux.org/
insteadOf = @aur: