-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathgitconfig
42 lines (40 loc) · 810 Bytes
/
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
[core]
autocrlf = false
excludesfile=~/.gitignore
[user]
name = "Ping Yin"
email = [email protected]
[merge]
summary = true
tool = vimdiff
[diff]
renames = copy
wordregex = "[[:alnum:]_]+|[^[:space:]]"
[i18n]
logoutputencoding = UTF-8
[color]
diff = auto
status = true
branch = auto
interactive = auto;
ui = auto;
[showbranch]
default = --topo-order
default = heads/*
[status]
submodulesummary = -1
[format]
numbered = auto
[push]
default = tracking
[mailmap]
file = ~/.mailmap
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
smtpuser = [email protected]
smtpserverport = 587
[alias]
sed = !git ls-files --stage | grep ^100 | awk '{print $4}' | xargs sed -r -s
slg = shortlog --pretty='format:%h %s'
locate = !sh -c 'git ls-files | grep --color=auto "$1"' -