-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgitconfig
104 lines (83 loc) · 1.81 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[user]
name = yossydev
email = [email protected]
[color]
ui = true
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
side-by-side = true
features = unobtrusive-line-numbers decorations
whitespace-error-style = 22 reverse
[delta "unobtrusive-line-numbers"]
line-numbers = true
line-numbers-left-format = "{nm:>4}┊"
line-numbers-right-format = "{np:>4}│"
line-numbers-left-style = blue
line-numbers-right-style = blue
[delta "decorations"]
commit-decoration-style = box ul
file-style = bold yellow ul
file-decoration-style = none
hunk-header-decoration-style = cyan box ul
[init]
defaultBranch = main
[push]
default = simple
[core]
editor = nvim
attributesfile = ~/.gitattributes
excludesfile = ~/.gitignore_global
precomposeUnicode = true
ignorecase = false
[merge]
tool = nvimdiff
[pull]
ff = only
[fetch]
prune = true
[diff]
tool = nvimdiff
algorithm = histogram
colorMoved = dimmed-zebra
[difftool "nvimdiff"]
cmd = "nvim -R -d -c \"wincmd l\" -d \"$LOCAL\" \"$REMOTE\""
[mergetool "nvimdiff"]
cmd = "nvim -d -c \"4wincmd w | wincmd J\" \"$LOCAL\" \"$BASE\" \"$REMOTE\" \"$MERGED\""
[alias]
b = branch
co = checkout
cob = checkout -b
rb = rebase
rbi = rebase -i
rbim = rebase --rebase-merge -i
s = status
ss = status -s
df = diff
cm = commit
cmm = commit -m
pl = pull
plo = pull origin
pu = push
puo = push origin
puof = push origin --force-with-lease
l = log
lo = log --oneline --graph
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[ghq]
root = ~/develop
[github]
user = yossydev
[credential]
helper = osxkeychain
[grep]
lineNumber = true