-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
138 lines (110 loc) · 2.19 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[user]
email = [email protected]
name = george looshch
[core]
editor = nvim
[diff]
tool = nvimdiff
[merge]
tool = nvimdiff
[mergetool]
keepBackup = false
[gpg]
format = ssh
[user]
signingkey = ~/.ssh/ed.pub
[commit]
gpgsign = true
[push]
autoSetupRemote = true
[init]
defaultBranch = master
[alias]
a = add
ap = a -p
ac = !git a . && git c
acnv = !git a . && git cnv
aca = !git a . && git ca
acanv = !git a . && git canv
acan = !git a . && git can
acannv = !git a . && git cannv
acanp = !git a . && git canp
acanpnv = !git a . && git canpnv
acanpf = !git a . && git canpf
acanpfnv = !git a . && git canpfnv
acap = !git a . && git cap
acapnv = !git a . && git capnv
acapf = !git a . && git capf
acapfnv = !git a . && git capfnv
acp = !git a . && git cp
acpnv = !git a . && git cpnv
aclean = clean -f -d
b = branch
bl = b -l
bm = b -m
bd = b -D
c = commit -S
cnv = c --no-verify
ca = c --amend
canv = ca --no-verify
can = ca --no-edit
cannv = can --no-verify
canp = !git can && git p
canpnv = !git cannv && git pnv
canpf = !git can && git pf
canpfnv = !git cannv && git pfnv
cap = !git ca && git p
capnv = !git canv && git pnv
capf = !git ca && git pf
capfnv = !git canv && git pfnv
cp = !git c && git p
cpnv = !git cnv && git pnv
co = checkout
cob = co -b
cl = clone
cld = cl --depth 1
d = difftool
ds = d --staged
dno = diff --name-only
dnos = diff --name-only --staged
h = help
i = init
l = log
mt = mergetool
p = push
pnv = p --no-verify
pd = p -d
pdnv = pd --no-verify
pf = p -f
pfnv = pf --no-verify
pt = p --tags
paur = pull --allow-unrelated --rebase
; Rebase on a branch.
r = "!r() { \
CUR_BRANCH="$(git b --show-current)"; \
git co $1; \
git pull; \
git co ${CUR_BRANCH}; \
git ri $1; \
}; r"
ra = rebase --abort
rc = rebase --continue
ri = rebase -i
rir = ri --root
; rir preserve date.
rirpd = rir --committer-date-is-author-date
rl = reflog
rs = restore --staged
s = status
sd = st drop
sl = st list
spo = st pop
spu = st push
st = stash
t = tag
uiau = update-index --assume-unchanged
uinau = update-index --no-assume-unchanged
; When a file was added.
wa = l --diff-filter=A --
; Who.
w = blame