dotfiles/git/.gitconfig

77 lines
1.7 KiB
INI
Raw Normal View History

2018-07-22 19:53:14 +00:00
[user]
2022-08-10 19:11:27 +00:00
email = ben@tilde.team
name = Ben Harris
signingkey = FC2255B7BBC7EABD4EFAFA1068907D8BCCD85A5A
2018-08-15 20:06:27 +00:00
2018-07-22 19:53:14 +00:00
[push]
2022-08-10 19:11:27 +00:00
default = simple
2018-08-15 20:06:27 +00:00
2018-07-24 05:06:48 +00:00
[commit]
2022-08-10 19:11:27 +00:00
gpgsign = false
verbose = true
2018-08-15 20:06:27 +00:00
2018-08-11 19:03:04 +00:00
[pull]
2022-08-10 19:11:27 +00:00
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"]
2022-08-10 19:11:27 +00:00
textconv = gpg --no-tty --decrypt
cachetextconv = false
2018-08-15 20:06:27 +00:00
[diff "ansible-vault"]
2022-08-10 19:11:27 +00:00
textconv = ansible-vault view
cachetextconv = false
2018-08-15 20:06:27 +00:00
2018-11-20 21:20:18 +00:00
[sendemail]
2022-08-10 19:11:27 +00:00
smtpencryption = tls
smtpserver = mail.tilde.team
smtpserverport = 587
smtpuser = ben
annotate = yes
2018-12-01 01:57:02 +00:00
[alias]
2022-08-10 19:11:27 +00:00
lol = log --oneline --graph --decorate --all
joke = !curl -s https://raw.githubusercontent.com/EugeneKay/git-jokes/lulz/Jokes.txt | shuf -n1
dad = !curl https://icanhazdadjoke.com
staged = diff --staged
ap = add --patch
cv = commit --verbose
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\"')}
2019-05-29 17:39:18 +00:00
[rerere]
2024-02-29 22:34:37 +00:00
enabled = true
[merge]
2022-08-10 19:11:27 +00:00
tool = vimdiff
conflictstyle = diff3
[mergetool]
2022-08-10 19:11:27 +00:00
prompt = false
2022-05-12 18:12:46 +00:00
[core]
2022-08-10 19:11:27 +00:00
pager = diff-highlight | less
excludesfile = /home/ben/.gitignore
[url "git@salsa.debian.org:"]
2022-08-10 19:11:27 +00:00
pushInsteadOf = https://salsa.debian.org/
insteadOf = salsa:
[url "git@bhh.sh:repos/"]
2022-08-10 19:11:27 +00:00
pushInsteadOf = https://git.bhh.sh/
2022-07-29 18:28:44 +00:00
[init]
2022-08-10 19:11:27 +00:00
defaultBranch = main
2024-02-29 22:34:37 +00:00
[column]
ui = auto
[branch]
sort = -committerdate
[tag]
sort = version:refname
2024-03-01 17:39:45 +00:00
[safe]
directory = *