-
Notifications
You must be signed in to change notification settings - Fork 9
/
gitconfig
74 lines (74 loc) · 1.53 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
73
74
[core]
attributesFile = ~/.gitattributes_global
autocrlf = false
excludesFile = ~/.gitignore_global
editor = vim
pager = less -F -R -X
precomposeUnicode = true
quotePath = false
[alias]
find-merge = "!bash -c 'commit=$0 && branch=${1:-HEAD} && \
git rev-list $commit..\"$branch\" --ancestry-path | \
grep -f <(git rev-list $commit..\"$branch\" --first-parent) | \
tail -1'"
show-merge = "!sh -c 'merge=$(git find-merge \"$0\" \"$1\") && \
[ -n \"$merge\" ] && git show -m $merge'"
[color]
ui = auto
[commit]
verbose = true
[diff]
algorithm = histogram
colorMoved = true
compactionHeuristic = true
renames = true
submodule = log
wsErrorHighlight = all
[diff "utf-16"]
textconv = iconv -f utf-16 -t utf-8
[difftool]
prompt = false
[fetch]
prune = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[init]
defaultBranch = main
templateDir = ~/.git-templates
[interactive]
diffFilter = diff-highlight
[log]
date = iso8601
[merge]
conflictStyle = diff3
[pager]
diff = diff-highlight | $(git config core.pager)
log = diff-highlight | $(git config core.pager)
show = diff-highlight | $(git config core.pager)
[pull]
ff = only
[push]
default = simple
[rebase]
autoStash = true
autoSquash = true
[rerere]
enabled = true
[sendemail]
confirm = always
suppresscc = self
[stash]
showPatch = true
[status]
showStash = true
[submodule]
fetchJobs = 0
recurse = true
[user]
useConfigOnly = true
[include]
path = ~/.gitconfig.user
path = ~/.gitconfig.local