forked from laixintao/myrc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
65 lines (65 loc) · 1.56 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[core]
editer = "/usr/local/bin/vim"
editor = vim
excludesfile = ~/.gitignore_global
quotepath = false
autocrlf = input
[user]
name = laixintao
email = [email protected]
username = laixintao
signingkey = 4E7314AC219D7FE4
[alias]
pr = pullrequest
ck = checkout
br = branch
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
parent = "!git show-branch | grep '*' | grep -v \"$(git rev-parse --abbrev-ref HEAD)\" | head -n1 | sed 's/.*\\[\\(.*\\)\\].*/\\1/' | sed 's/[\\^~].*//' #"
[merge]
tool = vimdiff
conflictstyle = diff3
[pull]
rebase = true
[mergetool]
prompt = false
[github]
user = [email protected]
username = laixintao
name = laixintao
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[pager]
diff = diff-so-fancy | less --tabs=1,5 -RFX
show = diff-so-fancy | less --tabs=1,5 -RFX
branch = false
[push]
followTags = true
[diff]
submodule = log
[commit]
gpgsign = true
[gpg]
program = gpg
[submodule]
recurse = true
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[diff-so-fancy]
markEmptyLines = true
[url "[email protected]:"]
insteadOf = https://git.garena.com