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