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">Alt + A
</td>
70 <td>Stage modified files
</td>
73 <td class=
"shortcut">Alt + U
</td>
75 <td>Stage untracked files
</td>
78 <td class=
"shortcut">Ctrl + U
</td>
80 <td>Revert unstaged edits
</td>
83 <td class=
"shortcut">Ctrl + Z
</td>
85 <td>Revert uncommitted changes
</td>
88 <td class=
"shortcut">Ctrl + Shift + M
</td>
90 <td>Merge branches
</td>
93 <td class=
"shortcut">Ctrl + m
</td>
95 <td>Amend last commit
</td>
98 <td class=
"shortcut">Ctrl + Shift + C
</td>
105 <table class=
"center">
107 <td width=
"35%"> </td>
109 <td class=
"title">Actions
</td>
112 <td class=
"shortcut">Ctrl + B
</td>
114 <td>Create branch
</td>
117 <td class=
"shortcut">Alt + B
</td>
119 <td>Checkout branch
</td>
122 <td class=
"shortcut">T / Ctrl + T
</td>
127 <td class=
"shortcut">Ctrl + G
</td>
132 <td class=
"shortcut">Alt + D
</td>
134 <td>Show diffstat
</td>
137 <td class=
"shortcut">Alt + E
</td>
139 <td>Export patches
</td>
142 <td class=
"shortcut">Alt + Shift + S
</td>
147 <td class=
"shortcut">Ctrl + Backspace
</td>
149 <td>Delete untracked files
</td>
152 <td class=
"shortcut">Ctrl + Shift + F
</td>
154 <td>Toggle paths filter
</td>
157 <td class=
"shortcut">Alt + R
</td>
159 <td>Start/continue interactive rebase
</td>
162 <td class=
"shortcut">Ctrl + R
</td>
167 <td class=
"shortcut">?
</td>
169 <td>Keyboard shortcuts
</td>
174 <table class=
"center">
176 <td width=
"35%"> </td>
178 <td class=
"title">Editing
</td>
181 <td class=
"shortcut">Enter / Ctrl + E
</td>
183 <td>Launch editor
</td>
186 <td class=
"shortcut">Space
</td>
188 <td>Open using default application
</td>
191 <td class=
"shortcut">Shift + Space
</td>
193 <td>Open parent directory
</td>
196 <td class=
"shortcut">Ctrl + Shift + E
</td>
198 <td>View / edit recently modified files
</td>
201 <td class=
"shortcut">Ctrl + #
</td>
206 <td class=
"shortcut">Ctrl + Shift + #
</td>
208 <td>Show and hide tools
<br>
209 # is
1 for commit,
2 for status,
3 for diff, etc.
</td>
214 <table class=
"center">
216 <td width=
"35%"> </td>
218 <td class=
"title">Remotes
</td>
221 <td class=
"shortcut">Ctrl + P
</td>
223 <td>Launch the Push dialog
</td>
226 <td class=
"shortcut">Ctrl + Shift + P
</td>
228 <td>Launch the Pull dialog
</td>
233 <table class=
"center">
235 <td width=
"35%"> </td>
237 <td class=
"title">Diff
</td>
240 <td class=
"shortcut">S
</td>
242 <td>Stage the selected lines, or the diff hunk beneath the text cursor
243 when nothing is selected
</td>
246 <td class=
"shortcut">Ctrl + D
</td>
248 <td>View diff using `git difftool`
</td>
251 <td class=
"shortcut">Ctrl + Shift + D
</td>
253 <td>View directory diff using `git difftool --dir-diff`
</td>
257 <!-- Browser actions -->
258 <table class=
"center">
260 <td width=
"35%"> </td>
262 <td class=
"title">Browser actions
</td>
265 <td class=
"shortcut">Ctrl + Shift + H
</td>
267 <td>View history
</td>
270 <td class=
"shortcut">Ctrl + Shift + D
</td>
272 <td>View diff against predecessor
</td>
275 <td class=
"shortcut">Ctrl + Alt + C
</td>
281 <!-- Tree navigation -->
282 <table class=
"center">
284 <td width=
"35%"> </td>
286 <td class=
"title">Navigation
</td>
289 <td class=
"shortcut">H
</td>
291 <td>Move left/collapse
</td>
294 <td class=
"shortcut">J / Alt + J
</td>
299 <td class=
"shortcut">K / Alt + K
</td>
304 <td class=
"shortcut">L
</td>
306 <td>Move right/expand
</td>
309 <td class=
"shortcut">Ctrl + J
</td>
311 <td>Focus the Diff Editor
</td>
314 <td class=
"shortcut">Ctrl + K
</td>
316 <td>Focus the Status tool
</td>
318 <tr title=
"Ctrl+L also focuses the DAG revspec, grep query, ...">
319 <td class=
"shortcut">Ctrl + L
</td>
321 <td>Focus the Commit tool
</td>