emacs: mode-line-related tweaks
[~bandali/configs] / .config / git / config
1 [user]
2 name = Amin Bandali
3 email = bandali@gnu.org
4 signingkey = BE6273738E616D6D1B3A08E8A21A020248816103
5
6 [commit]
7 gpgsign = true
8
9 # [format]
10 # signoff = true
11
12 [core]
13 autocrlf = input # CRLF -> LF on commit
14 editor = emacsclient -t
15 pager = "less"
16
17 [mailmap]
18 file = ~/.config/git/mailmap
19
20 [gpg]
21 program = gpg2
22
23 [alias]
24 git = !exec git # handle nested git calls, e.g. git git status
25 aliases = config --get-regexp '^alias\\.'
26 a = add
27 s = status
28 sl = status --long
29 c = checkout
30 cb = checkout -b
31 b = branch
32 r = rebase
33 p = pull
34 pr = pull --rebase
35 ps = push
36 psf = push --force
37 nmam = "!f() { notmuch show --format=raw $1 | git am -; }; f"
38 nmam3 = "!f() { notmuch show --format=raw $1 | git am -3 -; }; f"
39
40 [color]
41 ui = auto
42 [color "status"]
43 added = green bold
44 changed = red bold
45 untracked = red bold
46 [color "branch"]
47 current = green bold
48 remote = magenta bold
49 [color "diff"]
50 new = green bold
51 old = red bold
52
53 # [status]
54 # # showUntrackedFiles = all
55 # short=true
56 # branch=true
57
58 [github]
59 user = aminb
60
61 [sendemail]
62 smtpuser = bandali
63 smtpserver = fencepost.gnu.org
64 smtpserverport = 587
65 smtpencryption = tls
66 annotate = yes