* .config/git/config: Add l alias for log.
[~bandali/configs] / .config / git / config
CommitLineData
ca3a844a
AB
1[user]
2 name = Amin Bandali
b5dea933
AB
3 email = bandali@gnu.org
4 signingKey = BE6273738E616D6D1B3A08E8A21A020248816103
5
6[commit]
7 gpgSign = true
ca3a844a
AB
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
81e04d6f 26 l = log
ca3a844a
AB
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"
b5dea933
AB
37 gnu = config user.email 'bandali@gnu.org'
38 kelar = config user.email 'bandali@kelar.org'
39 sfl = config user.email 'amin.bandali@savoirfairelinux.com'
40 canonical = config user.email 'amin.bandali@canonical.com'
ca3a844a
AB
41
42[color]
43 ui = auto
44[color "status"]
45 added = green bold
46 changed = red bold
47 untracked = red bold
48[color "branch"]
49 current = green bold
50 remote = magenta bold
51[color "diff"]
52 new = green bold
53 old = red bold
54
55# [status]
56# # showUntrackedFiles = all
57# short=true
58# branch=true
59
60[github]
b5dea933 61 user = bandali0
ca3a844a
AB
62
63[sendemail]
64 smtpuser = bandali
b5dea933 65 smtpserver = fencepost.gnu.org
ca3a844a
AB
66 smtpserverport = 587
67 smtpencryption = tls
68 annotate = yes
69
70[transfer]
71 fsckObjects = true
f53becdc 72
b9347cae 73[init]
093efbaf 74 defaultBranch = main