-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
39 lines (36 loc) · 922 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
[user]
name = wubaoguo
email = [email protected]
[color]
branch = auto
diff = auto
status = auto
ui = auto
[core]
quotepath=false
edit = vim
autocrlf = true
filemode = false
[i18n]
commitencoding = UTF-8
[gui]
encoding = utf-8
[alias]
stage = add
unstage = reset HEAD
hb = merge --no-ff
rmv = remote -v
ci = commit
cia = commit --amend
co = checkout
br = branch
st = status
dc = diff --cached
dw = diff --word-diff
aa = add -A
rmall = !git ls-files --deleted | xargs git rm
ll = log --pretty=format:"%C(yellow)%h%Cred%d%Creset\\ %cn\\ %Cblue%cr%Creset\\ %Cgreen%s%Creset" --decorate --numstat
lg = log --pretty=format:"%C(yellow)%h%Cred%d%Creset\\ %cn\\ %Cblue%cr%Creset\\ %Cgreen%s%Creset" --decorate
lt = log --pretty=format:"%C(yellow)%h%Cred%d%Creset\\ %cn\\ %Cblue%cr%Creset\\ %Cgreen%s%Creset" --graph
[receive]
denyCurrentBranch = ignore