-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
80 lines (76 loc) · 1.96 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
75
76
77
78
79
80
[user]
name = Shawn Sorichetti
useConfigOnly = true
[github]
user = ssoriche
[core]
excludesfile = /Users/ssoriche/.gitignore
ignorecase = false
quotepath = false
pager = delta
[color]
status = auto
diff = auto
branch = auto
ui = true
; [branch "master"]
; merge = master
[alias]
co = checkout
ci = commit -v
cl = clean -dfx
cc = cherry-pick
fx = commit --no-edit --amend -C HEAD
st = status
mt = mergetool
hist = log --all --graph --pretty='[%C(cyan)%h%Creset]%C(bold cyan)%d%Creset %s'
uncommit = reset --soft HEAD^
unstage = reset HEAD
undo = reset HEAD~1 --mixed
save = !git add -A && git commit -m 'SAVEPOINT'
wip = commit -am "WIP"
wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard
standup = shortlog --since=yesterday
sdiff = "!git show $(git stash list | cut -d\":\" -f 1)"
pwb = rev-parse --abbrev-ref HEAD
[push]
default = simple
[mergetool "chdiff"]
cmd = /usr/bin/env chdiff --wait "$LOCAL" "$REMOTE"
keepBackup = false
trustExitCode = false
[mergetool "diffmerge"]
; cmd = diffmerge --merge --result="$MERGED" "$LOCAL" "$BASE" "$REMOTE"
cmd = diffmerge --merge --result="$MERGED" "$LOCAL" "$(if test -f "$BASE"; then echo "$BASE"; else echo "$LOCAL"; fi)" "$REMOTE"
trustexitcode = true
[merge]
tool = vim
[mergetool "vim"]
cmd = nvim -f -- \"$MERGED\"
trustExitCode = true
keepBackup = false
[mergetool "splice"]
cmd = 'mvim -c "SpliceInit" -f -- "$BASE" "$LOCAL" "$REMOTE" "$MERGED"'
trustExitCode = true
keepBackup = false
[diff]
tool = vimdiff
compactionHeuristic = true
[branch]
autosetuprebase = always
[interactive]
diffFilter = delta --color-only
[feature]
manyFiles = true
[protocol]
version = 2
[pull]
rebase = true
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[delta]
features = line-numbers decorations diff-so-fancy
whitespace-error-style = 22 reverse