-
Notifications
You must be signed in to change notification settings - Fork 14
/
gitconfig
72 lines (52 loc) · 1.22 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
71
72
# Set your name and email with the following:
# git config -f ~/.gitconfig.local user.name "John Appleseed"
# git config -f ~/.gitconfig.local user.email me@example.com
[include]
path = .gitconfig.local
[color]
ui = auto
[diff]
colorMoved = default
[color "diff"]
commit = yellow reverse
[init]
defaultBranch = main
[core]
excludesfile = ~/.gitignore
pager = (which delta > /dev/null 2> /dev/null && delta --color-only --syntax-theme=none --24-bit-color=never --max-line-distance 1.0 || cat) | ${PAGER:-less}
[interactive]
diffFilter=(which delta > /dev/null 2> /dev/null && delta --color-only --syntax-theme=none --24-bit-color=never --max-line-distance 1.0 || cat)
[push]
default = tracking
[merge]
log = true
conflictstyle = diff3
tool = vimdiff
[rerere]
enabled = 1
[diff]
compactionHeuristic = true
[difftool "vimdiff"]
cmd = vimdiff $LOCAL $REMOTE
[mergetool]
prompt = false
[rebase]
autosquash = true
autostash = true
[tag]
sort = version:refname
[git-up "bundler"]
check = true
[git-up "rebase"]
auto = false
[gitflow "branch"]
master = master
develop = develop
[gitflow "prefix"]
feature = feature/
release = release/
hotfix = hotfix/
support = support/
versiontag =
[git-up "rebase"]
arguments = --rebase-merges