50 lines
1.1 KiB
Text
50 lines
1.1 KiB
Text
[user]
|
|
name = Daniel Yrovas
|
|
email = dan@danielyrovas.com
|
|
signingkey = C181BAC70BDE7C00
|
|
[init]
|
|
defaultBranch = trunk
|
|
[ui "color"]
|
|
ui = always
|
|
[color]
|
|
ui = true
|
|
[core]
|
|
safecrlf = false
|
|
[merge]
|
|
tool = nvim -d
|
|
[alias]
|
|
c = commit
|
|
cm = commit -m '$2' && git push
|
|
s = status
|
|
st = status -u
|
|
lg = log --oneline
|
|
last = log -1 HEAD
|
|
cl = log -p -- ':(exclude)Cargo.lock'
|
|
f = push --force-with-lease
|
|
# https://stackoverflow.com/a/11688523/472927
|
|
ss = "!f() { git stash show stash^{/$*} -p; }; f"
|
|
sa = "!f() { git stash apply stash^{/$*}; }; f"
|
|
sl = stash list
|
|
alias = ! git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\ =\\ /
|
|
[pull]
|
|
ff = only
|
|
[push]
|
|
default = simple
|
|
[help]
|
|
autocorrect = 1
|
|
[url "git@github.com:"]
|
|
insteadOf = gh:
|
|
[github]
|
|
user = danielyrovas
|
|
[diff]
|
|
algorithm = patience
|
|
compactionHeuristic = true
|
|
[commit]
|
|
gpgsign = true
|
|
[protocol]
|
|
version = 2
|
|
[sendemail]
|
|
smtpserver = /usr/bin/msmtp
|
|
annotate = yes
|
|
[diff "odf"]
|
|
textconv = odt2txt
|