-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
77 lines (74 loc) · 1.91 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
[user]
email = [email protected]
name = Matt Schick
[push]
default = current
followTags = true
autoSetupRemote = true
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[alias]
cam = commit -am
cm = commit -m
co = checkout
cp = commit --patch
c = commit
st = status --short
sw = switch
log = log --graph --decorate
branchname = rev-parse --abbrev-ref HEAD
lb = !git reflog show --pretty=format:'%gs ~ %gd' --date=relative | grep 'checkout:' | grep -oE '[^ ]+ ~ .*' | awk -F~ '!seen[$1]++' | head -n 10 | awk -F' ~ HEAD@{' '{printf(\" \\033[33m%s: \\033[0m %s\\n\", substr($2, 1, length($2)-1), $1)}'
[core]
editor = "kak -e 'autowrap-enable; execute-keys -with-hooks A'"
excludesfile = /Users/mattschick/.gitignore_global
pager = diff-so-fancy | less --tabs=4 -RFX
[colors]
ui = true
[diff]
tool = difftastic
external = difft
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
[difftool "meld"]
trustExitCode = true
cmd = open -W -a Meld --args \"$LOCAL\" \"$REMOTE\"
cmd = meld \"$LOCAL\" \"$REMOTE\"
[difftool "json-diff"]
cmd = json-diff \"$LOCAL\" \"$REMOTE\"
[merge]
tool = meld
[mergetool]
prompt = false
keepBackup = false
[mergetool "meld"]
trustExitCode = true
hideResolved = false
cmd = meld \"$LOCAL\" \"$BASE\" \"$REMOTE\" --output=\"$MERGED\" --diff \"$BASE\" \"$LOCAL\" --diff \"$BASE\" \"$REMOTE\"
[mergetool "bc"]
hideResolved = true
trustExitCode = true
[tig]
line-graphics = utf-8
refresh-mode = auto
mouse = true
[rerere]
enabled = true
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[init]
defaultBranch = main
[rebase]
autosquash = true