-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
49 lines (49 loc) · 1.04 KB
/
gitconfig
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
45
46
47
48
49
[user]
email = ed@edryd.org
name = Ed van Bruggen
signingkey = DC8DC5F3245CD364
[github]
user = edvb
[push]
default = matching
[help]
autocorrect = 1
[color]
ui = auto
diff = auto
status = auto
branch = auto
interactive = auto
grep = auto
[alias]
la = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
ls = "!git la -10"
l = "!git ll -1"
lsa = shortlog -sn
diffl = diff --cached HEAD^
diffc = diff --cached
stat = diff --stat
statc = "!git diffc --stat"
statl = "!git diffl --stat"
s = stash list
A = add -A .
c = commit
p = push
slp = send-email --subject-prefix="${PWD##*/}][PATCH" --to hackers@suckless.org
[pager]
diff = diff-highlight | less
[credential]
helper = cache --timeout=43200
[merge]
tool = vimdiff
[commit]
verbose = true
gpgsign = true
[sendemail]
smtpEncryption = tls
smtpServer = smtp.uw.edu
smtpUser = edvb@uw.edu
smtpServerPort = 587
[init]
defaultBranch = main