-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
161 lines (129 loc) · 2.71 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[user]
email = [email protected]
name = Name Surname
[github]
email = [email protected]
name = Name Surname
[core]
editor = vim
[color]
branch = auto
diff = auto
status = auto
showbranch = auto
ui = true
[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = green bold
changed = red bold
untracked = yellow bold
[alias]
sh = show --color-words='[^[:space:]]'
lg = !git log --graph --pretty=format:'%C(131)%h%Creset %C(113)(%ci)%Creset -%C(220)%d%Creset %s %C(39)<%an>%Creset' --abbrev-commit --date=relative
lgfzf = !git-lg-fzf
rank = shortlog -sn --no-merges
cmt = !git add . && git add -u && git commit -m
details = log -n1 -p --format=fuller
a = add .
ai = add -i
b = branch
ba = branch -a
bd = branch -d
bdd = branch -D
br = branch -r
bc = rev-parse --abbrev-ref HEAD
c = commit
ca = commit -a
cm = commit -m
cam = commit -am
cem = commit --allow-empty -m
cad = commit --amend
ced = commit --allow-empty --amend
cl = clone
cld = clone --depth 1
d = diff
df = diff --color-words='[^[:space:]]'
dc = diff --cached
dk = diff --check
dt = difftool
f = fetch
fo = fetch origin
fu = fetch upstream
m = merge
ma = merge --abort
mc = merge --continue
ms = merge --skip
co = checkout
cob = checkout -b
pr = prune -v
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
psoc = !git push origin $(git bc)
psaoc = !git push --all origin $(git bc)
pl = pull
pb = pull --rebase
plo = pull origin
pbo = pull --rebase origin
ploc = !git pull origin $(git bc)
plu = pull upstream
rb = rebase
rba = rebase --abort
rbc = rebase --continue
rbs = rebase --skip
rbi = rebase -i
re = reset
reh = reset HEAD
rehd = reset --hard
res = reset --soft
r = remote
ra = remote add
rr = remote rm
rv = remote -v
rn = remote rename
rp = remote prune
rs = remote show
rao = remote add origin
rau = remote add upstream
rro = remote remove origin
rru = remote remove upstream
rso = remote show origin
rsu = remote show upstream
s = status
sb = status -sb
sa = stash apply
sc = stash clear
sd = stash drop
sl = stash list
sp = stash pop
ss = stash save
t = tag
td = tag -d
sh = show
shp = show -p
[diff]
tool = vimdiff
[difftool]
prompt = false