forked from kemayo/sublime-text-git
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Default.sublime-commands
320 lines (320 loc) · 8.32 KB
/
Default.sublime-commands
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
[
{ "caption": "Git: Init",
"command": "git_init"
}
,{
"caption": "Git: Blame",
"command": "git_blame"
}
,{
"caption": "Git: Document Selection",
"command": "git_document"
}
,{
"caption": "Git: New Tag",
"command": "git_new_tag"
}
,{
"caption": "Git: Delete Tag",
"command": "git_delete_tag"
}
,{
"caption": "Git: Show Tags",
"command": "git_show_tags"
}
,{
"caption": "Git: Push Tags",
"command": "git_raw", "args": { "command": "git push --tags", "may_change_files": false }
}
,{
"caption": "Git: Checkout Tag",
"command": "git_checkout_tag"
}
,{
"caption": "Git: Log Current File",
"command": "git_log"
}
,{
"caption": "Git: Log All",
"command": "git_log_all"
}
,{
"caption": "Git: Graph Current File",
"command": "git_graph"
}
,{
"caption": "Git: Graph All",
"command": "git_graph_all"
}
,{
"caption": "Git: View selected commits",
"command": "git_goto_commit"
}
,{
"caption": "Git: Diff Current File",
"command": "git_diff"
}
,{
"caption": "Git: Diff All Files",
"command": "git_diff_all"
}
,{
"caption": "Git: Diff Staged Files",
"command": "git_diff_commit"
}
,{
"caption": "Git: Diff Current File (Ignore Whitespace)",
"command": "git_diff",
"args": { "ignore_whitespace": true }
}
,{
"caption": "Git: Diff All Files (Ignore Whitespace)",
"command": "git_diff_all",
"args": { "ignore_whitespace": true }
}
,{
"caption": "Git: Diff Staged Files (Ignore Whitespace)",
"command": "git_diff_commit",
"args": { "ignore_whitespace": true }
}
,{
"caption": "Git: Diff Tool Current File",
"command": "git_raw", "args": { "command": "git difftool", "append_current_file": true, "may_change_files": false }
}
,{
"caption": "Git: Diff Tool All",
"command": "git_raw", "args": { "command": "git difftool", "may_change_files": false }
}
,{
"caption": "Git: Diff Tool Current File Staged",
"command": "git_diff_tool_commit"
}
,{
"caption": "Git: Diff Tool Staged",
"command": "git_diff_tool_commit_all"
}
,{
"caption": "Git: Commit",
"command": "git_commit"
}
,{
"caption": "Git: Amend Commit",
"command": "git_commit_amend"
}
,{
"caption": "Git: Quick Commit (current file)",
"command": "git_quick_commit"
}
,{
"caption": "Git: Quick Commit (repo)",
"command": "git_quick_commit", "args": { "target": "*" }
}
,{
"caption": "Git: Quick Commit (repo, only already added files)",
"command": "git_quick_commit", "args": { "target": false }
}
,{
"caption": "Git: Status",
"command": "git_status"
}
,{
"caption": "Git: Open Modified Files",
"command": "git_open_modified_files"
}
,{
"caption": "Git: New Branch",
"command": "git_new_branch"
}
,{
"caption": "Git: Change Branch",
"command": "git_branch"
}
,{
"caption": "Git: Track Remote Branch",
"command": "git_track_remote_branch"
}
,{
"caption": "Git: Merge Branch",
"command": "git_merge"
}
,{
"caption": "Git: Delete Branch",
"command": "git_delete_branch"
}
,{
"caption": "Git: Stash Changes",
"command": "git_raw", "args": { "command": "git stash" }
}
,{
"caption": "Git: Stash Pop",
"command": "git_raw", "args": { "command": "git stash pop" }
}
,{
"caption": "Git: Stash Apply",
"command": "git_stash_apply"
}
,{
"caption": "Git: Stash Drop",
"command": "git_stash_drop"
}
,{
"caption": "Git: Stash List",
"command": "git_stash_list"
}
,{
"caption": "Git: Add Current File",
"command": "git_raw", "args": { "command": "git add", "append_current_file": true }
}
,{
"caption": "Git: Add...",
"command": "git_add_choice"
}
,{
"caption": "Git: Add All",
"command": "git_raw", "args": { "command": "git add -A" }
}
,{
"caption": "Git: Checkout Current File",
"command": "git_raw", "args": { "command": "git checkout", "append_current_file": true }
}
,{
"caption": "Git: Fetch",
"command": "git_raw", "args": { "command": "git fetch", "may_change_files": false }
}
,{
"caption": "Git: Pull",
"command": "git_raw", "args": { "command": "git pull" }
}
,{
"caption": "Git: Pull Using Rebase",
"command": "git_raw", "args": { "command": "git pull --rebase" }
}
,{
"caption": "Git: Pull Current Branch",
"command": "git_pull_current_branch"
}
,{
"caption": "Git: Push",
"command": "git_raw", "args": { "command": "git push", "may_change_files": false }
}
,{
"caption": "Git: Push Current Branch",
"command": "git_push_current_branch"
}
,{
"caption": "Git: Show Previous Version of Current File",
"command": "git_show"
}
,{
"caption": "Git: Show Commit By Hash",
"command": "git_show_commit"
}
,{
"caption": "Git: Toggle Annotations",
"command": "git_toggle_annotations"
}
,{
"caption": "Git: Custom Command",
"command": "git_custom"
}
,{
"caption": "Git Flow: Feature Start",
"command": "git_flow_feature_start"
}
,{
"caption": "Git Flow: Feature Finish",
"command": "git_flow_feature_finish"
}
,{
"caption": "Git Flow: Release Start",
"command": "git_flow_release_start"
}
,{
"caption": "Git Flow: Release Finish",
"command": "git_flow_release_finish"
}
,{
"caption": "Git Flow: Hotfix Start",
"command": "git_flow_hotfix_start"
}
,{
"caption": "Git Flow: Hotfix Finish",
"command": "git_flow_hotfix_finish"
}
,{
"caption": "Git: Open...",
"command": "git_open_file"
}
,{
"caption": "Git: Reset (unstage) Current File",
"command": "git_raw", "args": { "command": "git reset HEAD", "append_current_file": true, "show_in": "suppress" }
}
,{
"caption": "Git: Reset (unstage) All",
"command": "git_raw", "args": { "command": "git reset HEAD", "show_in": "suppress" }
}
,{
"caption": "Git: Reset (hard) HEAD",
"command": "git_reset_hard_head"
}
,{
"caption": "Git: Add Selected Hunk",
"command": "git_add_selected_hunk"
}
,{
"caption": "Git: Commit Selected Hunk",
"command": "git_commit_selected_hunk"
}
,{
"caption": "Git: Gui",
"command": "git_gui"
}
,{
"caption": "Git: Gitk This File",
"command": "git_gitk_this_file"
}
,{
"caption": "Git: Gitk",
"command": "git_gitk"
}
,{
"caption": "Git: Gitk All",
"command": "git_gitk_all"
}
,{
"caption": "Git: Commit history",
"command": "git_commit_history"
}
,{
"caption": "Git: Update Project Ignored Files",
"command": "git_update_ignore"
}
,{
"caption": "Git: Move Current File",
"command": "git_file_move"
}
,{
"caption": "Git: Rename / Move Current File",
"command": "git_file_move", "args": { "rename": true }
}
,{
"caption": "Git: Remove / Delete Current File",
"command": "git_raw", "args": { "command": "git rm", "append_current_file": true }
}
,{
"caption": "Git: Assume Unchanged",
"command": "git_update_index_assume_unchanged"
}
,{
"caption": "Git: No Assume Unchanged",
"command": "git_update_index_no_assume_unchanged"
}
,{
"caption": "Git: Open Local Config",
"command": "git_open_config_file"
}
,{
"caption": "Git: Open Url",
"command": "git_open_config_url", "args": { "url_param": "remote.origin.url" }
}
]