bash: add e and se alias for editing files with emacs
[~bandali/configs] / .config / git / config
CommitLineData
ec80f07a 1[user]
56f00282
AB
2 name = Amin Bandali
3 email = bandali@gnu.org
4 signingkey = BE6273738E616D6D1B3A08E8A21A020248816103
ec80f07a
AB
5
6[commit]
56f00282 7 gpgsign = true
ec80f07a
AB
8
9# [format]
ec84245a 10# signoff = true
ec80f07a
AB
11
12[core]
56f00282
AB
13 autocrlf = input # CRLF -> LF on commit
14 editor = emacsclient -t
56f00282 15 pager = "less"
ec80f07a 16
2deefd75
AB
17[mailmap]
18 file = ~/.config/git/mailmap
19
ec80f07a 20[gpg]
56f00282 21 program = gpg2
ec80f07a
AB
22
23[alias]
56f00282
AB
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"
ec80f07a
AB
39
40[color]
56f00282 41 ui = auto
ec80f07a 42[color "status"]
56f00282
AB
43 added = green bold
44 changed = red bold
45 untracked = red bold
ec80f07a 46[color "branch"]
56f00282
AB
47 current = green bold
48 remote = magenta bold
ec80f07a 49[color "diff"]
56f00282
AB
50 new = green bold
51 old = red bold
ec80f07a 52
ec84245a
AB
53# [status]
54# # showUntrackedFiles = all
55# short=true
56# branch=true
ec80f07a
AB
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