-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
106 lines (90 loc) · 1.88 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
105
106
[user]
name = Adonis Kakoulidis
email = [email protected]
[github]
user = varemenos
[core]
editor = nano
fileMode = false # ignore file right changes
autocrlf = false # disable autocrlf mode
excludesfile = /Users/kakoulidis/.gitignore_global
pager = delta
[diff]
compactionHeuristic
colorMoved = default
[delta]
features = side-by-side line-numbers decorations hyperlinks # need to `export DELTA_PAGER="less -rX"` otherwise everything will look funky
syntax-theme = "Monokai Extended"
plus-style = 'syntax bold auto'
minus-style = 'syntax bold auto'
hyperlinks-file-link-format = "vscode://file/{path}:{line}"
navigate = true
[interactive]
diffFilter = delta --color-only --features=interactive
[log]
date=short
[push]
# 'git push' will push the current branch to its tracking branch
# the default is to push all branches
default = tracking
autoSetupRemote = true
[help]
autocorrect = 1
[fetch]
prune = true
# starhive setup
[includeIf "gitdir:~/Projects/starhive/"]
path = ~/Projects/starhive/.gitconfig
[init]
defaultBranch = main
[pull]
ff = only
[merge]
conflictstyle = diff3
[commit]
template = /Users/kakoulidis/.stCommitMsg
[alias]
a = add
ap = add --patch
b = branch
bi = bisect
c = commit
ca = commit --amend
cl = clone
co = checkout
d = diff
dc = diff --cached
ds = diff --staged
dw = diff --word-diff
f = fetch
g = grep
i = init
l = log
lp = log --oneline
lv = log --oneline --graph
m = merge
mc = merge --continue
ma = merge --abort
ms = merge --skip
mv = mv
p = push
pf = push --force-with-lease
pl = pull
r = reset
rb = rebase
rbc = rebase --continue
rba = rebase --abort
rbs = rebase --skip
rm = rm
s = status
st = stash
sh = show
t = tag
w = whatchanged
ws = status -s
cherrypick = cherry-pick
cherry = cherry-pick
cp = cherry-pick
cpa = cherry-pick --abort
cpc = cherry-pick --continue
cps = cherry-pick --skip