my shell and tool configurations
1[user]
2 email = ben@tilde.team
3 name = Ben Harris
4 signingkey = FC2255B7BBC7EABD4EFAFA1068907D8BCCD85A5A
5
6[push]
7 default = simple
8
9[commit]
10 gpgsign = false
11 verbose = true
12
13[pull]
14 ff = only
15
16[pager]
17 diff = diff-highlight | less
18 log = diff-highlight | less
19 reflog = diff-highlight | less
20 show = diff-highlight | less
21
22[diff]
23 colorMoved = default
24
25[diff "gpg"]
26 textconv = gpg --no-tty --decrypt
27 cachetextconv = false
28
29[diff "ansible-vault"]
30 textconv = ansible-vault view
31 cachetextconv = false
32
33[sendemail]
34 smtpencryption = tls
35 smtpserver = mail.tilde.team
36 smtpserverport = 587
37 smtpuser = ben
38 annotate = yes
39[alias]
40 lol = log --oneline --graph --decorate --all
41 joke = !curl -s https://raw.githubusercontent.com/EugeneKay/git-jokes/lulz/Jokes.txt | shuf -n1
42 dad = !curl https://icanhazdadjoke.com
43 staged = diff --staged
44 ap = add --patch
45 cv = commit --verbose
46 local = log --oneline --no-merges ${1-$(git branch -lvv | perl -ne '/^\\\\*.*\\\\[(.*?)\\\\]/ and print \"$1\\n\"')}..HEAD
47 upstream = log --oneline --no-merges HEAD..${1-$(git branch -lvv | perl -ne '/^\\\\*.*\\\\[(.*?)\\\\]/ and print \"$1\\n\"')}
48
49[rerere]
50 enabled = true
51[merge]
52 tool = vimdiff
53 conflictstyle = diff3
54[mergetool]
55 prompt = false
56
57[core]
58 pager = diff-highlight | less
59 excludesfile = /home/ben/.gitignore
60
61[url "git@salsa.debian.org:"]
62 pushInsteadOf = https://salsa.debian.org/
63 insteadOf = salsa:
64[url "git@bhh.sh:repos/"]
65 pushInsteadOf = https://git.bhh.sh/
66
67[init]
68 defaultBranch = main
69[column]
70 ui = auto
71[branch]
72 sort = -committerdate
73[tag]
74 sort = version:refname
75[safe]
76 directory = *
77[fetch]
78 prune = true
79 all = true