git/config/git/config
2022-03-31 14:57:47 +11:00

107 lines
1.6 KiB
Plaintext

# vim: ft=gitconfig
[user]
name = Danielle McLean
email = dani@00dani.me
signingkey = 83F3DCEC98D522B6A38AF5D927D076D2ACA7BABE
[commit]
gpgsign = true
[alias]
co = checkout
d = diff
l = log --graph --pretty=graph --date=relative
up = pull --prune --rebase=merges --autostash
patch = !git --no-pager diff --no-color
st = status --short
shove = "!f() { git push ${1:-origin} :; }; f"
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[column]
ui = auto
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
line-numbers = true
syntax-theme = Monokai Extended
[diff]
colorMoved = true
[diff "gpg"]
binary = true
textconv = "gpg -qd --no-tty"
[dude]
icon = ~/.config/git-dude/icon.png
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[gpg]
program = gpg-for-git-signing
[help]
autocorrect = 20
[init]
defaultBranch = main
[log]
decorate = true
[merge]
conflictStyle = diff3
[pretty]
graph = tformat:%C(auto)%h %G? %s% gD% D
[pull]
rebase = false
[push]
default = simple
gpgSign = if-asked
[rerere]
enabled = true
[status]
branch = true
[submodule]
recurse = true
[url "git@github.com:"]
pushInsteadOf = https://github.com/
[url "git@git.00dani.me:"]
pushInsteadOf = https://git.00dani.me/
[include]
path = tools/kdiff3
path = tools/kitty-diff
path = config.os
path = config.local