dotfiles/git/.gitconfig

62 lines
1.4 KiB
INI
Raw Normal View History

2018-07-22 19:53:14 +00:00
[user]
email = ben@tilde.team
name = Ben Harris
2018-07-24 05:06:48 +00:00
signingkey = FC2255B7BBC7EABD4EFAFA1068907D8BCCD85A5A
2018-08-15 20:06:27 +00:00
2018-07-22 19:53:14 +00:00
[push]
default = simple
2018-08-15 20:06:27 +00:00
2018-07-24 05:06:48 +00:00
[commit]
gpgsign = false
2020-06-19 05:50:24 +00:00
verbose = true
2018-08-15 20:06:27 +00:00
2018-08-11 19:03:04 +00:00
[pull]
ff = only
2018-08-15 20:06:27 +00:00
2022-02-17 21:42:31 +00:00
[pager]
diff = diff-highlight | less
log = diff-highlight | less
reflog = diff-highlight | less
show = diff-highlight | less
2021-10-10 20:23:34 +00:00
[diff]
colorMoved = default
2018-08-15 20:06:27 +00:00
[diff "gpg"]
textconv = gpg --no-tty --decrypt
cachetextconv = false
[diff "ansible-vault"]
textconv = ansible-vault view
cachetextconv = false
2018-11-20 21:20:18 +00:00
[sendemail]
smtpencryption = tls
smtpserver = mail.tilde.team
smtpserverport = 587
annotate = yes
smtpuser = ben
2018-12-01 01:57:02 +00:00
[alias]
lol = log --oneline --graph --decorate --all
2019-06-17 18:06:13 +00:00
joke = !curl -s https://raw.githubusercontent.com/EugeneKay/git-jokes/lulz/Jokes.txt | shuf -n1
dad = !curl https://icanhazdadjoke.com
2019-06-25 01:19:32 +00:00
staged = diff --staged
ap = add --patch
local = log --oneline --no-merges ${1-$(git branch -lvv | perl -ne '/^\\\\*.*\\\\[(.*?)\\\\]/ and print \"$1\\n\"')}..HEAD
upstream = log --oneline --no-merges HEAD..${1-$(git branch -lvv | perl -ne '/^\\\\*.*\\\\[(.*?)\\\\]/ and print \"$1\\n\"')}
2021-10-10 20:23:34 +00:00
cv = commit --verbose
2019-05-29 17:39:18 +00:00
[rerere]
enabled = true
[merge]
tool = vimdiff
conflictstyle = diff3
[mergetool]
prompt = false
2022-05-12 18:12:46 +00:00
[core]
excludesfile = /home/ben/.gitignore
[url "git@salsa.debian.org:"]
pushInsteadOf = https://salsa.debian.org/
insteadOf = salsa:
[url "git@bhh.sh:repos/"]
pushInsteadOf = https://git.bhh.sh/