.config/git/config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[alias]
s = status
d = diff
p = pull --prune --rebase
ds = diff --staged
d1 = diff HEAD~1 HEAD
d2 = diff HEAD~2 HEAD
co = checkout
br = branch
amend = commit --amend -m
aa = add -A .
cm = commit -m
lg = log --color --graph --pretty=format:'%Cgreen%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lgs = log --graph --pretty=format:'%Cgreen%h%Creset - %s %C(yellow)%d' --abbrev-commit
[color]
ui = auto
[core]
excludesfile = ~/.config/git/gitignore
editor = vim
quotepath = false
autocrlf = input
[apply]
whitespace = nowarn
[difftool]
prompt = false
[submodule]
fetchJobs = 4
[changelog]
format = * %s [%an]
[user]
name = j3s
email = j3s@c3f.net
[sendemail]
smtpserver = smtp.migadu.com
smtpuser = j3s@c3f.net
smtpencryption = tls
smtpserverport = 465
annotate = yes
[pull]
ff = only
[includeIf "gitdir:~/git/"]
path = ~/.config/git/config-work
[includeIf "gitdir:~/howdocs/"]
path = ~/.config/git/config-work