-
Notifications
You must be signed in to change notification settings - Fork 2
/
gitconfig
70 lines (70 loc) · 1.95 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
66
67
68
69
70
[user]
name = LittleKey
email = LittleKeyRain@gmail.com
signingkey = 0C03DF62FF4F118C
[core]
autocrlf = input
safecrlf = false
editor = vim
pager = delta
[interactive]
diffFilter = delta --color-only
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
type = cat-file
dump = cat-file
soup = push origin --all
sm = submodule
bl = blame
rel = rev-list --all --pretty=format:\"%ad | %s%d [%an]\" --date=short
[color]
ui = true
always = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
grag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[merge]
tool = idea
[mergetool "idea"]
cmd = idea merge $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") $(cd $(dirname "$BASE") && pwd)/$(basename "$BASE") $(cd $(dirname "$MERGED") && pwd)/$(basename "$MERGED")
trustExitCode = true
[diff]
tool = idea
[difftool "idea"]
cmd = idea diff $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE")
[gpg]
program = /usr/local/bin/gpg
[commit]
gpgsign = false
[tag]
forceSignAnnotated = true
[url "ssh://github.com/"]
insteadOf = https://github.com/
[url "ssh://github.com/"]
insteadOf = git@github.com:
[url "ssh://code.yogorobot.io/"]
insteadOf = https://code.yogorobot.io/
[url "ssh://code.yogorobot.io/"]
insteadOf = git@code.yogorobot.io:
[url "ssh://gitlab.yogorobot.com/"]
insteadOf = https://gitlab.yogorobot.com/
[url "ssh://gitlab.yogorobot.com/"]
insteadOf = git@gitlab.yogorobot.com:
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true