dotfiles/git/.config/git/config

60 lines
1.1 KiB
Plaintext

[user]
email = george@rawlinson.net.nz
name = George Rawlinson
signingkey = 25EA6900D9EA5EBC
[core]
# if $EDITOR not set, use this as editor
editor = nvim
# fix whitespace issues
whitespace = fix, blank-at-eol, blank-at-eof, space-before-tab, trailing-space
pager = delta
[color]
# automatically color output, except when piping
ui = auto
[color "status"]
# colours when using status command
untracked = magenta
changed = red
added = green
[push]
# push current branch instead of all
default = simple
[alias]
# you really think i use this? no. it's an example.
# source - https://github.com/ngerakines/commitment
yolo = !git commit -m \"$(curl -s whatthecommit.com/index.txt)\"
[commit]
gpgsign = true
template = ~/.config/git/template
[sendemail]
smtpserver = smtp.little.kiwi
smtpuser = george@rawlinson.net.nz
smtpencryption = tls
smtpserverport = 587
annotate = true
[format]
signoff = true
# use git-delta for diff/log
[delta]
navigate = true
light = false
[interactive]
diffFilter = delta --color-only
[merge]
conflictstyle = diff3
[diff]
colorMoved = default