-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
31 lines (31 loc) · 947 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
[user]
name = yangbo
email = yangbo@admaster.com.cn
signingkey = 0x42E03E35EB0FFDFF
[alias]
co = checkout
ci = commit
st = status
br = branch
ol = log --pretty=oneline --since='2 days ago'
onelog = log -p -1
lp = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lg = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
la = log --all --color --graph --decorate=full --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date-order
[color]
ui = auto
[diff]
tool = vimdiff
algorithm = patience
[merge]
conflictstyle = diff3
tool = vimdiff
[push]
default = simple
[submodule]
fetchJobs = 10
[core]
pager = diff-highlight | less
ignorecase = false
[commit]
gpgsign = true