-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
109 lines (109 loc) · 1.87 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
107
108
109
[user]
name = lordlabuckdas
email = [email protected]
[core]
editor = v
pager = less -F
[apply]
whitespace = fix
[color]
ui = auto
status = auto
branch = auto
interactive = auto
diff = auto
[diff]
tool = nvimdiff
[difftool]
prompt = false
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
[help]
autocorrect = 1
[rerere]
enabled = true
[alias]
a = add
aa = add --all
########
b = branch
ba = branch -a
bd = branch -d
########
c = commit
cm = commit -m
cam = commit -am
cd = commit --amend
cl = clone
########
d = diff
dt = difftool
########
f = fetch
fo = fetch origin
fu = fetch upstream
########
l = log --oneline
lg = log --oneline --graph --decorate
########
m = merge
ma = merge --abort
mc = merge --continue
ms = merge --skip
########
o = checkout
om = checkout main
ob = checkout -b
########
ps = push
psf = push -f
psu = push -u
pst = push --tags
pso = push origin
psao = push --all origin
psfo = push -f origin
psuo = push -u origin
psom = push origin main
psaom = push --all origin main
psfom = push -f origin main
psuom = push -u origin main
########
pl = pull
pb = pull --rebase
plo = pull origin
pbo = pull --rebase origin
plom = pull origin main
pbom = pull --rebase origin main
plu = pull upstream
plum = pull upstream main
pbum = pull --rebase upstream main
########
rb = rebase
rba = rebase --abort
rbc = rebase --continue
rbi = rebase --interactive
rbs = rebase --skip
########
re = reset
rh = reset HEAD
reh = reset --hard
rem = reset --mixed
res = reset --soft
rehh = reset --hard HEAD
remh = reset --mixed HEAD
resh = reset --soft HEAD
########
r = remote
ra = remote add
rr = remote rm
rv = remote -v
rao = remote add origin
rau = remote add upstream
########
s = status
sb = status -s -b
########
t = tag
td = tag -d
[init]
defaultBranch = main