-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
71 lines (59 loc) · 1.12 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
[color]
ui = true
[core]
excludesfile = ~/.gitignore_global
editor = hx
quotepath = false
[push]
# https://git-scm.com/docs/git-config#git-config-pushdefault
default = current
[pull]
rebase = false
[fetch]
prune = true
[alias]
# basics
a = add
b = branch
c = commit
d = diff
f = fetch
g = grep
l = log
m = merge
o = checkout
p = pull
r = remote
s = status
w = whatchanged
aa = add --all
amend = commit --amend
branches = branch -a --color -v
cm = commit -m
lol = log --graph --decorate --pretty=oneline --abbrev-commit
st = status --short --branch
prune = fetch --prune
undo = reset --soft HEAD^
who = shortlog --summary --
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[delta]
plus-style = "syntax #2C3F37"
minus-style = "syntax #6C4345"
syntax-theme = Dracula
navigate = true
side-by-side = true
[interactive]
diffFilter = delta --color-only
[include]
path = ~/.gitconfig.local
[init]
defaultBranch = main