forked from 582033/vim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
49 lines (46 loc) · 1.05 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
[core]
autocrlf = false
excludesfile=~/.gitignore
editor = /usr/bin/vim
[user]
name = "Yan Jiang"
#name = "yjiang"
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
log = 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 -s
slg = shortlog --pretty='format:%h %s'
locate = !sh -c 'git ls-files | grep --color=auto "$1"' -
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
[url "bearr:android/"]
insteadOf = "git://android.git.kernel.org/"