-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathgitconfig
executable file
·90 lines (78 loc) · 1.75 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
# please change this to your own info
[user]
email = [email protected]
name = geek
[color]
ui = true
[push]
default = simple
[core]
editor = vim
# pager = bat
# pager = delta
# linux/mac: input, win: true
# https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings
autocrlf = input
safecrlf = false
compression = 9
quotepath = false
excludesfile = ~/.gitignore
[pager]
status = false
branch = false
[interactive]
# diffFilter = delta --color-only
# diffFilter = delta --side-by-side --line-numbers
[delta]
navigate = true
[alias]
br = branch
bl = branch -l
ba = branch -la
bc = branch --contains
bd = branch -d
bdf = branch -D
co = checkout
cb = checkout -b
cp = cherry-pick
cpa = cherry-pick --abort
cpc = cherry-pick --continue
cps = cherry-pick --skip
ci = commit
cn = commit --no-verify
ca = commit --amend
cl = config --list
dc = diff --cached
rmc = rm --cached
st = status
sub = submodule
subu = submodule update --recursive
fa = fetch --all
forget = rm -r --cached
pd = push --delete
pdo = push --delete origin
re = remote
rb = rebase
rbi = rebase -i
rbm = rebase -i origin/main
rbmn = rebase -i origin/main
rbc = rebase --continue
rba = rebase --abort
rbs = rebase --skip
ls = ls-files
lp = log -p
ll = log --oneline
lg = log --oneline --graph
[init]
defaultBranch = main
[pull]
rebase = true
[status]
submodulesummary = 1
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[credential]
helper = manager