* .profile: export GPG_TTY=$(tty)
[~bandali/configs] / .config / git / config
... / ...
CommitLineData
1[user]
2 name = Amin Bandali
3 email = bandali@kelar.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[alias]
21 git = !exec git # handle nested git calls, e.g. git git status
22 aliases = config --get-regexp '^alias\\.'
23 a = add
24 s = status
25 sl = status --long
26 c = checkout
27 cb = checkout -b
28 b = branch
29 r = rebase
30 p = pull
31 pr = pull --rebase
32 ps = push
33 psf = push --force
34 nmam = "!f() { notmuch show --format=raw $1 | git am -; }; f"
35 nmam3 = "!f() { notmuch show --format=raw $1 | git am -3 -; }; f"
36
37[color]
38 ui = auto
39[color "status"]
40 added = green bold
41 changed = red bold
42 untracked = red bold
43[color "branch"]
44 current = green bold
45 remote = magenta bold
46[color "diff"]
47 new = green bold
48 old = red bold
49
50# [status]
51# # showUntrackedFiles = all
52# short=true
53# branch=true
54
55[github]
56 user = notbandali
57
58[sendemail]
59 smtpuser = bandali
60 smtpserver = mail.kelar.org
61 smtpserverport = 587
62 smtpencryption = tls
63 annotate = yes
64
65[transfer]
66 fsckObjects = true
67[init]
68 templateDir = ~/.config/git/template