-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathgitconfig
65 lines (65 loc) · 1.42 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
[user]
name = Paul Danelli
email = [email protected]
[core]
excludesfile = /Users/paul/.gitignore_global
editor = nvim
pager = diff-so-fancy | less --tabs=4 -RFX
fileMode = false
autocrlf = input
[color]
ui = true
[alias]
ch = checkout
sw = switch
co = commit
st = status -sMu
hide = update-index --assume-unchanged
unhide = update-index --no-assume-unchanged
changed = diff --stat
br = branch
first = rev-list --max-parents=0 HEAD
ci = commit
unstage = reset HEAD --
last = log -1 HEAD
ad = add
psh = push
pll = pull
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
graph = log --all --decorate --oneline --graph
fame = !python -m gitfame
cp = cherry-pick
[push]
default = simple
autoSetupRemote = true
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
func = 146 bold
[diff-so-fancy]
markEmptyLines = false
changeHunkIndicators = false
stripLeadingSymbols = false
useUnicodeRuler = false
rulerWidth = 80
[merge]
tool = vimdiff
[pull]
rebase = false
[init]
defaultBranch = main
[interactive]
diffFilter = diff-so-fancy --patch