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">Keyboard shortcuts
</span>
45 <!-- Preparing Commits -->
46 <table class=
"center">
48 <td width=
"35%"> </td>
50 <td class=
"title">Commit
</td>
53 <td class=
"shortcut">Ctrl + Return
</td>
55 <td>Commit staged changes
</td>
58 <td class=
"shortcut">Ctrl + Shift + Return
</td>
60 <td>Prepare commit message hook
</td>
63 <td class=
"shortcut">Ctrl + S
</td>
65 <td>Stage / unstage selected files
</td>
68 <td class=
"shortcut">Ctrl + Shift + S
</td>
70 <td>Stage / unstage all files
</td>
73 <td class=
"shortcut">Alt + A
</td>
75 <td>Stage modified files
</td>
78 <td class=
"shortcut">Alt + U
</td>
80 <td>Stage untracked files
</td>
83 <td class=
"shortcut">Ctrl + U
</td>
85 <td>Revert unstaged edits
</td>
88 <td class=
"shortcut">Ctrl + Z
</td>
90 <td>Revert uncommitted changes
</td>
93 <td class=
"shortcut">Ctrl + Shift + M
</td>
95 <td>Merge branches
</td>
98 <td class=
"shortcut">Ctrl + m
</td>
100 <td>Amend last commit
</td>
103 <td class=
"shortcut">Ctrl + Shift + C
</td>
110 <table class=
"center">
112 <td width=
"35%"> </td>
114 <td class=
"title">Actions
</td>
117 <td class=
"shortcut">Ctrl + B
</td>
119 <td>Create branch
</td>
122 <td class=
"shortcut">Alt + B
</td>
124 <td>Checkout branch
</td>
127 <td class=
"shortcut">T / Ctrl + T
</td>
132 <td class=
"shortcut">Ctrl + G
</td>
137 <td class=
"shortcut">Alt + D
</td>
139 <td>Show diffstat
</td>
142 <td class=
"shortcut">Alt + E
</td>
144 <td>Export patches
</td>
147 <td class=
"shortcut">Alt + Shift + S
</td>
152 <td class=
"shortcut">Ctrl + Enter
</td>
157 <td class=
"shortcut">Ctrl + Backspace
</td>
162 <td class=
"shortcut">Ctrl + Shift + Backspace
</td>
167 <td class=
"shortcut">Ctrl + Backspace
</td>
169 <td>Delete untracked files
</td>
172 <td class=
"shortcut">Ctrl + Shift + F
</td>
174 <td>Toggle paths filter
</td>
177 <td class=
"shortcut">Alt + R
</td>
179 <td>Start/continue interactive rebase
</td>
182 <td class=
"shortcut">Ctrl + R
</td>
187 <td class=
"shortcut">?
</td>
189 <td>Keyboard shortcuts
</td>
194 <table class=
"center">
196 <td width=
"35%"> </td>
198 <td class=
"title">Editing
</td>
201 <td class=
"shortcut">Enter / Ctrl + E
</td>
203 <td>Launch editor
</td>
206 <td class=
"shortcut">Space
</td>
208 <td>Open using default application
</td>
211 <td class=
"shortcut">Shift + Space
</td>
213 <td>Open parent directory
</td>
216 <td class=
"shortcut">Ctrl + Shift + E
</td>
218 <td>View / edit recently modified files
</td>
221 <td class=
"shortcut">Ctrl + #
</td>
226 <td class=
"shortcut">Ctrl + Shift + #
</td>
228 <td>Show and hide tools
<br>
229 # is
1 for commit,
2 for status,
3 for diff, etc.
</td>
234 <table class=
"center">
236 <td width=
"35%"> </td>
238 <td class=
"title">Remotes
</td>
241 <td class=
"shortcut">Ctrl + P
</td>
243 <td>Launch the Push dialog
</td>
246 <td class=
"shortcut">Ctrl + Shift + P
</td>
248 <td>Launch the Pull dialog
</td>
253 <table class=
"center">
255 <td width=
"35%"> </td>
257 <td class=
"title">Diff
</td>
260 <td class=
"shortcut">S
</td>
262 <td>Stage the selected lines, or the diff hunk beneath the text cursor
263 when nothing is selected
</td>
266 <td class=
"shortcut">Ctrl + D
</td>
268 <td>View diff using `git difftool`
</td>
271 <td class=
"shortcut">Ctrl + Shift + D
</td>
273 <td>View directory diff using `git difftool --dir-diff`
</td>
277 <!-- Browser actions -->
278 <table class=
"center">
280 <td width=
"35%"> </td>
282 <td class=
"title">Browser actions
</td>
285 <td class=
"shortcut">Ctrl + Shift + H
</td>
287 <td>View history
</td>
290 <td class=
"shortcut">Ctrl + Shift + D
</td>
292 <td>View diff against predecessor
</td>
295 <td class=
"shortcut">Ctrl + Alt + C
</td>
301 <!-- Tree navigation -->
302 <table class=
"center">
304 <td width=
"35%"> </td>
306 <td class=
"title">Navigation
</td>
309 <td class=
"shortcut">H
</td>
311 <td>Move left/collapse
</td>
314 <td class=
"shortcut">J / Alt + J
</td>
319 <td class=
"shortcut">K / Alt + K
</td>
324 <td class=
"shortcut">L
</td>
326 <td>Move right/expand
</td>
329 <td class=
"shortcut">Ctrl + J
</td>
331 <td>Focus the Diff Editor
</td>
334 <td class=
"shortcut">Ctrl + K
</td>
336 <td>Focus the Status tool
</td>
338 <tr title=
"Ctrl+L also focuses the DAG revspec, grep query, ...">
339 <td class=
"shortcut">Ctrl + L
</td>
341 <td>Focus the Commit tool
</td>