configs: pull current configs out of rc.org & clean up
[~bandali/configs] / .gitconfig
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 excludesfile = ~/.gitignore_global
16 pager = "less"
17
18 [gpg]
19 program = gpg2
20
21 [alias]
22 git = !exec git # handle nested git calls, e.g. git git status
23 aliases = config --get-regexp '^alias\\.'
24 a = add
25 s = status
26 sl = status --long
27 c = checkout
28 cb = checkout -b
29 b = branch
30 r = rebase
31 p = pull
32 pr = pull --rebase
33 ps = push
34 psf = push --force
35 nmam = "!f() { notmuch show --format=raw $1 | git am -; }; f"
36 nmam3 = "!f() { notmuch show --format=raw $1 | git am -3 -; }; f"
37
38 [color]
39 ui = auto
40 [color "status"]
41 added = green bold
42 changed = red bold
43 untracked = red bold
44 [color "branch"]
45 current = green bold
46 remote = magenta bold
47 [color "diff"]
48 new = green bold
49 old = red bold
50
51 [status]
52 # showUntrackedFiles = all
53 short=true
54 branch=true
55
56 [github]
57 user = aminb
58
59 [sendemail]
60 smtpuser = bandali
61 smtpserver = fencepost.gnu.org
62 smtpserverport = 587
63 smtpencryption = tls
64 annotate = yes