git: Reformat config

This commit is contained in:
Marty Oehme 2025-02-07 16:41:59 +01:00
parent 8a57725f15
commit 8b6e338fc2
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -20,23 +20,23 @@
smtpserver = "/usr/bin/msmtp" smtpserver = "/usr/bin/msmtp"
annotate = yes annotate = yes
[alias] [alias]
ignore = "!gitignore -f" ignore = "!gitignore -f" # requires gitignore script to be in PATH
last = "diff HEAD~ HEAD" last = "diff HEAD~ HEAD"
pushall = "!git remote | xargs -I R git push R" # push to all connected remotes pushall = "!git remote | xargs -I R git push R" # push to all connected remotes
fetchall = "!git remote | xargs -I R git fetch R" # fetch from all connected remotes fetchall = "!git remote | xargs -I R git fetch R" # fetch from all connected remotes
diffword = "!git diff --word-diff=color --word-diff-regex='[0-9A-Za-z_]+'" # word-wise diff, good for prose diffword = "!git diff --word-diff=color --word-diff-regex='[0-9A-Za-z_]+'" # word-wise diff, good for prose
diffsyn = "!git difftool --tool difftastic" # add syntax-driven diff using treesitter diffsyn = "!git difftool --tool difftastic" # add syntax-driven diff using treesitter
diffside = "!DELTA_FEATURES='+side-by-side' git diff" # add side-by-side diffing diffside = "!DELTA_FEATURES='+side-by-side' git diff" # add side-by-side diffing
delta = "![ $TERM_DARK = false ] && delta --light || delta" # Take care that we always display right color scheme delta = "![ $TERM_DARK = false ] && delta --light || delta" # Take care that we always display right color scheme
[commit] [commit]
gpgsign = true # sign commits as me gpgsign = true # sign commits as me
verbose = true # Always show diff when preparing commit message verbose = true # Always show diff when preparing commit message
[fetch] [fetch]
prune = true # remove references to non-existent remote branches prune = true # remove references to non-existent remote branches
[pull] [pull]
rebase = true # always rebase on pulling, obviates merge commits rebase = true # always rebase on pulling, obviates merge commits
[diff] [diff]
colorMoved = zebra # also color stuff that has simply been moved, in a classy zebra-color colorMoved = zebra # also color stuff that has simply been moved, in a classy zebra-color
[difftool] [difftool]
prompt = false prompt = false
[difftool "difftastic"] [difftool "difftastic"]