.dotfiles/.config/git/config

67 lines
1.2 KiB
Plaintext

[user]
email = tobias@msrg.cc
name = Tobias Reisinger
signingkey = 723B78C0BF8D8C721D2C4EEF41E544A54E2533B2
[core]
excludesfile = ~/.config/git/ignore
editor = vim
autocrlf = input
[help]
autocorrect = 20
[diff]
tool = difftastic
external = difft
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
[alias]
b = branch -vv
ci = commit
cia = commit -C HEAD --amend
d = diff
dc = diff --cached
ds = diff --stat
dw = diff --word-diff=color
dt = difftool
dtc = difftool --cached
l = log --graph
lo = log --graph --decorate --oneline --all
s = status
ignore-io = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi"
[log]
date = iso
[merge]
conflictstyle = zdiff3
[sendemail]
smtpserver = mail.serguzim.me
smtpuser = tobias@msrg.cc
smtpencryption = tls
smtpserverport = 587
annotate = yes
[advice]
addIgnoredFile = false
[pull]
ff = only
[push]
followTags = true
autoSetupRemote = true
[format]
signOff = yes
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[init]
defaultBranch = main
[commit]
gpgsign = true
verbose = true