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 + Enter
</td>
152 <td class=
"shortcut">Ctrl + Backspace
</td>
157 <td class=
"shortcut">Ctrl + Shift + Backspace
</td>
162 <td class=
"shortcut">Ctrl + Backspace
</td>
164 <td>Delete untracked files
</td>
167 <td class=
"shortcut">Ctrl + Shift + F
</td>
169 <td>Toggle paths filter
</td>
172 <td class=
"shortcut">Alt + R
</td>
174 <td>Start/continue interactive rebase
</td>
177 <td class=
"shortcut">Ctrl + R
</td>
182 <td class=
"shortcut">?
</td>
184 <td>Keyboard shortcuts
</td>
189 <table class=
"center">
191 <td width=
"35%"> </td>
193 <td class=
"title">Editing
</td>
196 <td class=
"shortcut">Enter / Ctrl + E
</td>
198 <td>Launch editor
</td>
201 <td class=
"shortcut">Space
</td>
203 <td>Open using default application
</td>
206 <td class=
"shortcut">Shift + Space
</td>
208 <td>Open parent directory
</td>
211 <td class=
"shortcut">Ctrl + Shift + E
</td>
213 <td>View / edit recently modified files
</td>
216 <td class=
"shortcut">Ctrl + #
</td>
221 <td class=
"shortcut">Ctrl + Shift + #
</td>
223 <td>Show and hide tools
<br>
224 # is
1 for commit,
2 for status,
3 for diff, etc.
</td>
229 <table class=
"center">
231 <td width=
"35%"> </td>
233 <td class=
"title">Remotes
</td>
236 <td class=
"shortcut">Ctrl + P
</td>
238 <td>Launch the Push dialog
</td>
241 <td class=
"shortcut">Ctrl + Shift + P
</td>
243 <td>Launch the Pull dialog
</td>
248 <table class=
"center">
250 <td width=
"35%"> </td>
252 <td class=
"title">Diff
</td>
255 <td class=
"shortcut">S
</td>
257 <td>Stage the selected lines, or the diff hunk beneath the text cursor
258 when nothing is selected
</td>
261 <td class=
"shortcut">Ctrl + D
</td>
263 <td>View diff using `git difftool`
</td>
266 <td class=
"shortcut">Ctrl + Shift + D
</td>
268 <td>View directory diff using `git difftool --dir-diff`
</td>
272 <!-- Browser actions -->
273 <table class=
"center">
275 <td width=
"35%"> </td>
277 <td class=
"title">Browser actions
</td>
280 <td class=
"shortcut">Ctrl + Shift + H
</td>
282 <td>View history
</td>
285 <td class=
"shortcut">Ctrl + Shift + D
</td>
287 <td>View diff against predecessor
</td>
290 <td class=
"shortcut">Ctrl + Alt + C
</td>
296 <!-- Tree navigation -->
297 <table class=
"center">
299 <td width=
"35%"> </td>
301 <td class=
"title">Navigation
</td>
304 <td class=
"shortcut">H
</td>
306 <td>Move left/collapse
</td>
309 <td class=
"shortcut">J / Alt + J
</td>
314 <td class=
"shortcut">K / Alt + K
</td>
319 <td class=
"shortcut">L
</td>
321 <td>Move right/expand
</td>
324 <td class=
"shortcut">Ctrl + J
</td>
326 <td>Focus the Diff Editor
</td>
329 <td class=
"shortcut">Ctrl + K
</td>
331 <td>Focus the Status tool
</td>
333 <tr title=
"Ctrl+L also focuses the DAG revspec, grep query, ...">
334 <td class=
"shortcut">Ctrl + L
</td>
336 <td>Focus the Commit tool
</td>