-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
67 lines (67 loc) · 1.46 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
[core]
autocrlf = input
editor = vi
[user]
name = William Cox
email = mydimension@gmail.com
[include]
path = .gitconfig.local
[alias]
co = commit
st = status
cko = checkout
prune-local = !git branch --format='%(if:equals=[gone])%(upstream:track)%(then)%(refname:lstrip=2)%(end)' | xargs -I {} sh -c '[ -n "$(git merge-base $(git branch --show-current) {})" ] && git branch -d {}'
pushd = push -u origin HEAD
[color]
branch = auto
diff = auto
grep = auto
pager = true
interactive = auto
showbranch = auto
status = auto
ui = auto
[help]
autocorrect = 3
[diff]
tool = vimdiff
gui = opendiff
colormoved = default
colormovedws = allow-indentation-change
[branch]
autosetuprebase = always
[merge]
tool = threesome
gui = opendiff
[rebase]
stat = true
[mergetool]
keepBackup = false
[mergetool "threesome"]
cmd = "vim -f $BASE $LOCAL $REMOTE $MERGED -c 'ThreesomeInit'"
trustExitCode = true
[tig]
line-graphics = utf-8
tab-size = 4
[tig "bind"]
main = T !@git tag %(prompt) %(commit)
[fetch]
prune = true
[push]
default = simple
followTags = true
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[filter "lfs"]
smudge = git-lfs smudge -- %f
required = true
clean = git-lfs clean -- %f
process = git-lfs filter-process
[pull]
rebase = true
[init]
defaultBranch = main
[submodule]
recurse = true