-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
48 lines (48 loc) · 1.09 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
[core]
editor = vim
excludesfile = ~/.gitignore_global
[push]
default = upstream
[diff]
tool = bc3
[difftool]
bc3 = trustExitCode
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difft = true
[merge]
tool = bc3
[merge "tool"]
bc3 = trustExitCode
[credential]
helper = store
[alias]
vimdiff = difftool --tool=vimdiff --prompt
gvimdiff = difftool --tool=gvimdiff --prompt
difft = difftool --tool=difftastic
vimmerge = mergetool --tool=vimdiff
gvimmerge = mergetool --tool=gvimdiff
wdiff = diff --color-words --ignore-all-space
tree = log --oneline --decorate --graph --all
ctags = !.git/hooks/ctags
sup = submodule update --init --recursive --remote
sfor = submodule foreach --recursive
s = status .
d = diff .
hash = rev-parse --short HEAD
pwd = rev-parse --show-toplevel
[init]
templatedir = ~/.git_template
defaultBranch = main
[submodule]
fetchJobs = 4
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[pull]
ff = only
# vim: shiftwidth=4 tabstop=4 softtabstop=4 noexpandtab