-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_gitconfig
More file actions
39 lines (39 loc) · 874 Bytes
/
_gitconfig
File metadata and controls
39 lines (39 loc) · 874 Bytes
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 = dennis
email = mrvon@qq.com
[core]
editor = nvim -f
pager = less -x1,5
[diff]
tool = vimdiff
submodule = log
[difftool]
prompt = false
[difftool "vimdiff"]
cmd = nvim -d -c 'wincmd l' -c 'cd "$GIT_PREFIX"' "$LOCAL" "$REMOTE"
[merge]
tool = vimdiff
[mergetool]
prompt = false
keepBackup = false
trustExitCode = true
[mergetool "vimdiff"]
cmd = nvim -d -c '$wincmd w' -c 'wincmd J' "$LOCAL" "$BASE" "$REMOTE" "$MERGED"
trustExitCode = true
[push]
recurseSubmodules = check
autoSetupRemote = true
[url "https://"]
insteadOf = git://
[gc]
auto = 0
[url "git@github.com:"]
insteadOf = https://github.com/
[url "git@gitlab.com:"]
insteadOf = https://gitlab.com/
[url "git@gitlab.alibaba-inc.com:"]
insteadOf = https://gitlab.alibaba-inc.com/
[rebase]
instructionFormat = [%an] %s
[advice]
skippedCherryPicks = false