5 <style type=
"text/css">
7 font-family: Helvetica
, Ubuntu
, sans
;
8 background-color: #303030;
28 font-family: Monaco
, "Ubuntu Mono", monospace
;
42 <span class=
"title">键盘快捷键
</span>
45 <!-- Preparing Commits -->
46 <table class=
"center">
48 <td width=
"35%"> </td>
50 <td class=
"title">提交
</td>
53 <td class=
"shortcut">Ctrl + Return
</td>
58 <td class=
"shortcut">Ctrl + Shift + Return
</td>
60 <td>Prepare commit message hook
</td>
63 <td class=
"shortcut">Ctrl + S
</td>
68 <td class=
"shortcut">Ctrl + Shift + S
</td>
71 <td>Stage / unstage all files
</td>
74 <td class=
"shortcut">Alt + A
</td>
79 <td class=
"shortcut">Alt + U
</td>
84 <td class=
"shortcut">Ctrl + U
</td>
89 <td class=
"shortcut">Ctrl + Shift + U
</td>
92 <td>Launch an external editor to edit the selected lines, or the diff hunk beneath
93 the text cursor when nothing is selected, and then revert unstaged changes
94 using the edited diff
</td>
97 <td class=
"shortcut">Ctrl + Z
</td>
102 <td class=
"shortcut">Ctrl + Shift + M
</td>
105 <td>Merge branches
</td>
108 <td class=
"shortcut">Ctrl + M
</td>
113 <td class=
"shortcut">Ctrl + Shift + C
</td>
121 <table class=
"center">
123 <td width=
"35%"> </td>
125 <td class=
"title">操作
</td>
128 <td class=
"shortcut">Ctrl + B
</td>
133 <td class=
"shortcut">Alt + B
</td>
138 <td class=
"shortcut">Ctrl + T
</td>
143 <td class=
"shortcut">Ctrl + G
</td>
148 <td class=
"shortcut">Alt + D
</td>
153 <td class=
"shortcut">Alt + Shift + E
</td>
158 <td class=
"shortcut">Alt + Shift + S
</td>
163 <td class=
"shortcut">Ctrl + Enter
</td>
168 <td class=
"shortcut">Ctrl + Backspace
</td>
173 <td class=
"shortcut">Ctrl + Shift + Backspace
</td>
178 <td class=
"shortcut">Ctrl + Backspace
</td>
180 <td>Delete untracked files
</td>
183 <td class=
"shortcut">Ctrl + Shift + f
</td>
185 <td>Toggle paths filter
</td>
188 <td class=
"shortcut">Ctrl + R
</td>
193 <td class=
"shortcut">?
</td>
200 <table class=
"center">
202 <td width=
"35%"> </td>
204 <td class=
"title">编辑
</td>
207 <td class=
"shortcut">Enter / Ctrl + E
</td>
212 <td class=
"shortcut">空白鍵
</td>
217 <td class=
"shortcut">Shift + 空白鍵
</td>
222 <td class=
"shortcut">Ctrl + Alt + C
</td>
224 <td>Copy Commit ID
</td>
227 <td class=
"shortcut">Ctrl + Shift + E
</td>
229 <td>查看 / 编辑最近修改的文件
</td>
232 <td class=
"shortcut">Ctrl + #
</td>
237 <td class=
"shortcut">Ctrl + Shift + #
</td>
244 <table class=
"center">
246 <td width=
"35%"> </td>
248 <td class=
"title">差异查看器
</td>
251 <td class=
"shortcut">S
</td>
253 <td>缓存所选项目,未选择项目时与
<strong><em>H
</em></strong>作用相同
257 <td class=
"shortcut">Ctrl + Shift + S
</td>
259 <td>Launch an external editor to edit the selected lines, or the diff hunk benath the
260 text cursor when nothing is selected, and then stage the edited diff
</td>
263 <td class=
"shortcut">Ctrl + D
</td>
265 <td>使用「git difftool」命令查看内容差异
</td>
268 <td class=
"shortcut">Alt + Shift + C
</td>
270 <td>Copy Diff to clipboard (strips diff +/- prefixes)
</td>
273 <td class=
"shortcut">Ctrl + Shift + D
</td>
275 <td>View directory diff using `git difftool --dir-diff`
</td>
279 <td class=
"shortcut">Shift
</td>
281 <td>Hold Shift to select text when moving the cursor with H, J, K, L
285 <td class=
"shortcut">Space / Shift + Space
</td>
287 <td>Page Down / Page Up
</td>
290 <td class=
"shortcut">0 (Zero)
</td>
292 <td>Move cursor to the start of the line
</td>
295 <td class=
"shortcut">$ (Shift +
4)
</td>
297 <td>Move cursor to the end of the line
</td>
300 <td class=
"shortcut">G G
</td>
302 <td>Move cursor to the start of the diff
</td>
305 <td class=
"shortcut">Shift + G
</td>
307 <td>Move cursor to the end of the diff
</td>
311 <!-- Browser actions -->
312 <table class=
"center">
314 <td width=
"35%"> </td>
316 <td class=
"title">「浏览器」窗口操作
</td>
319 <td class=
"shortcut">Ctrl + Shift + H
</td>
324 <td class=
"shortcut">Ctrl + Shift + D
</td>
330 <!-- Tree navigation -->
331 <table class=
"center">
333 <td width=
"35%"> </td>
335 <td class=
"title">导航键
</td>
338 <td class=
"shortcut">H
</td>
343 <td class=
"shortcut">J / Alt + J
</td>
348 <td class=
"shortcut">K / Alt + K
</td>
353 <td class=
"shortcut">L
</td>
359 <td class=
"shortcut">Ctrl + J
</td>
361 <td>Focus the Diff Editor
</td>
364 <td class=
"shortcut">Ctrl + K
</td>
366 <td>Focus the Status tool
</td>
369 <td class=
"shortcut">Ctrl + L
</td>
371 <!-- TODO: Focus the Commit summary, Grep query, DAG query, ...-->