This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
180 lines (180 loc) · 4.81 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
[user]
name = Ivan D Vasin
email = [email protected]
[core]
autocrlf = input
safecrlf = warn
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore.global
pager = diff-so-fancy | less --tabs=4 -RFX
[interactive]
diffFilter = diff-so-fancy
[branch]
autosetuprebase = always
[diff]
algorithm = histogram
renames = copies
mnemonicPrefix = true
[grep]
lineNumber = true
[log]
date = iso
[merge]
log = 100
tool = kdiff3
[pull]
rebase = preserve
[push]
default = simple
[alias]
a = add --patch
aa = add --all
au = add --update
br = branch
brc = symbolic-ref --short HEAD
brd = branch --delete
cfg = config
cfgg = config --global
cfgge = config --global --edit
cfgl = config --local
cfgle = config --local --edit
chp = cherry-pick
chpa = cherry-pick --abort
chpc = cherry-pick --continue
ci = commit
cia = commit --amend
cian = commit --amend --no-edit
cim = commit --message
cin = commit --no-edit
cle = clean-disposable
clo = clone
co = checkout
co- = checkout -
cob = checkout -b
coma = checkout master
d = diff --break-rewrites=/90 --find-renames=30 --find-copies=30
dc = diff --break-rewrites=/90 --find-renames=30 --find-copies=30 --cached
dcs = diff --break-rewrites=/90 --find-renames=30 --find-copies=30 --cached --stat
des = describe --dirty --broken --tags
desa = describe --dirty --broken --all
desc = describe --contains --dirty --broken --tags
desca = describe --contains --dirty --broken --all
ds = diff --break-rewrites=/90 --find-renames=30 --find-copies=30 --stat
f = fetch
g = grep
gbl = grep-blame
gi = gui
gibl = gui blame
gibr = gui browser
gici = gui citool
l = log
lgd = log --patch
lgd = log --patch
lgd1 = log --patch -1
lgs = log --stat
lgs1 = log --stat -1
lgsd = log --stat --patch
lgsd1 = log --stat --patch -1
lo = log --format='%C(yellow)%h %C(blue)%aN %C(cyan)%ad%C(red)%d %C()%s' --date=format-local:'%Y-%m-%d %H:%M:%S'
lol = log --format='%C(yellow)%h %C(blue)%aN %C(cyan)%ad%C(red)%d %C()%s' --date=format-local:'%Y-%m-%d %H:%M:%S' --graph
lol1 = log --format='%C(yellow)%h %C(blue)%aN %C(cyan)%ad%C(red)%d %C()%s' --date=format-local:'%Y-%m-%d %H:%M:%S' --graph -1
lola = log --format='%C(yellow)%h %C(blue)%aN %C(cyan)%ad%C(red)%d %C()%s' --date=format-local:'%Y-%m-%d %H:%M:%S' --graph --all
ls = ls-files
mg = merge
mgf = merge --ff-only
mgma = merge master
mgnf = merge --no-ff
pl = pull
prune-tags = !git tag --list | xargs git tag --delete && git fetch --tags
ps = push
psa = push --all
pscb = push-current-branch
psct = push-current-tag
psf = push --force
pso = push origin
rb = rebase
rba = rebase --abort
rbc = rebase --continue
rbi = rebase --interactive
rbima = rebase --interactive master
rbiup = rebase --interactive @{upstream}
rbma = rebase master
rmc = rm --cached
rs = reset
rshard = reset --hard
rshardma = reset --hard master
rshardup = reset --hard @{upstream}
s = status
ss = stash
ssa = stash apply
ssd = stash drop
ssd1 = stash drop stash@{1}
ssd2 = stash drop stash@{2}
ssd3 = stash drop stash@{3}
ssd4 = stash drop stash@{4}
ssd5 = stash drop stash@{5}
ssd6 = stash drop stash@{6}
ssd7 = stash drop stash@{7}
ssd8 = stash drop stash@{8}
ssl = stash list
ssp = stash pop
ssp1 = stash pop stash@{1}
ssp2 = stash pop stash@{2}
ssp3 = stash pop stash@{3}
ssp4 = stash pop stash@{4}
ssp5 = stash pop stash@{5}
ssp6 = stash pop stash@{6}
ssp7 = stash pop stash@{7}
ssp8 = stash pop stash@{8}
sss = stash show
sss1 = stash show stash@{1}
sss2 = stash show stash@{2}
sss3 = stash show stash@{3}
sss4 = stash show stash@{4}
sss5 = stash show stash@{5}
sss6 = stash show stash@{6}
sss7 = stash show stash@{7}
sss8 = stash show stash@{8}
sssp = stash show --patch
sssp1 = stash show --patch stash@{1}
sssp2 = stash show --patch stash@{2}
sssp3 = stash show --patch stash@{3}
sssp4 = stash show --patch stash@{4}
sssp5 = stash show --patch stash@{5}
sssp6 = stash show --patch stash@{6}
sssp7 = stash show --patch stash@{7}
sssp8 = stash show --patch stash@{8}
sssv = stash save
sssvk = stash save --keep-index
sssvp = stash save --patch
sssvpnk = stash save --patch --no-keep-index
[color]
branch = auto
diff = auto
grep = auto
interactive = auto
showBranch = auto
status = auto
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[gui]
fontui = -family \"Inconsolata LGC for Powerline\" -size 11 -weight normal -slant roman -underline 0 -overstrike 0
fontdiff = -family \"Inconsolata LGC for Powerline\" -size 11 -weight normal -slant roman -underline 0 -overstrike 0
editor = gvim
[cola]
fontdiff = Inconsolata LGC for Powerline,11,-1,5,50,0,0,0,0,0
tabwidth = 2
textwidth = 92
boldheaders = true