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 + S
</td>
60 <td>Stage / unstage selected files
</td>
63 <td class=
"shortcut">Alt + A
</td>
65 <td>Stage modified files
</td>
68 <td class=
"shortcut">Alt + U
</td>
70 <td>Stage untracked files
</td>
73 <td class=
"shortcut">Ctrl + U
</td>
75 <td>Revert unstaged edits
</td>
78 <td class=
"shortcut">Ctrl + Z
</td>
80 <td>Revert uncommitted changes
</td>
83 <td class=
"shortcut">Ctrl + Shift + M
</td>
85 <td>Merge branches
</td>
88 <td class=
"shortcut">Ctrl + m
</td>
90 <td>Amend last commit
</td>
93 <td class=
"shortcut">Ctrl + Shift + C
</td>
100 <table class=
"center">
102 <td width=
"35%"> </td>
104 <td class=
"title">Actions
</td>
107 <td class=
"shortcut">Ctrl + B
</td>
109 <td>Create branch
</td>
112 <td class=
"shortcut">Alt + B
</td>
114 <td>Checkout branch
</td>
117 <td class=
"shortcut">T / Ctrl + T
</td>
122 <td class=
"shortcut">Ctrl + G
</td>
127 <td class=
"shortcut">Alt + D
</td>
129 <td>Show diffstat
</td>
132 <td class=
"shortcut">Alt + E
</td>
134 <td>Export patches
</td>
137 <td class=
"shortcut">Alt + Shift + S
</td>
142 <td class=
"shortcut">Ctrl + Backspace
</td>
144 <td>Delete untracked files
</td>
147 <td class=
"shortcut">Ctrl + Shift + F
</td>
149 <td>Toggle paths filter
</td>
152 <td class=
"shortcut">Ctrl + R
</td>
157 <td class=
"shortcut">?
</td>
159 <td>Keyboard shortcuts
</td>
164 <table class=
"center">
166 <td width=
"35%"> </td>
168 <td class=
"title">Editing
</td>
171 <td class=
"shortcut">Enter / Ctrl + E
</td>
173 <td>Launch editor
</td>
176 <td class=
"shortcut">Space
</td>
178 <td>Open using default application
</td>
181 <td class=
"shortcut">Shift + Space
</td>
183 <td>Open parent directory
</td>
186 <td class=
"shortcut">Ctrl + Shift + E
</td>
188 <td>View / edit recently modified files
</td>
191 <td class=
"shortcut">Ctrl + #
</td>
196 <td class=
"shortcut">Ctrl + Shift + #
</td>
198 <td>Show and hide tools
<br>
199 # is
1 for commit,
2 for status,
3 for diff, etc.
</td>
204 <table class=
"center">
206 <td width=
"35%"> </td>
208 <td class=
"title">Remotes
</td>
211 <td class=
"shortcut">Ctrl + P
</td>
213 <td>Launch the Push dialog
</td>
216 <td class=
"shortcut">Ctrl + Shift + P
</td>
218 <td>Launch the Pull dialog
</td>
223 <table class=
"center">
225 <td width=
"35%"> </td>
227 <td class=
"title">Diff
</td>
230 <td class=
"shortcut">S
</td>
232 <td>Stage the selected lines, or the diff hunk beneath the text cursor
233 when nothing is selected
</td>
236 <td class=
"shortcut">Ctrl + D
</td>
238 <td>View diff using `git difftool`
</td>
241 <td class=
"shortcut">Ctrl + Shift + D
</td>
243 <td>View directory diff using `git difftool --dir-diff`
</td>
247 <!-- Browser actions -->
248 <table class=
"center">
250 <td width=
"35%"> </td>
252 <td class=
"title">Browser actions
</td>
255 <td class=
"shortcut">Ctrl + Shift + H
</td>
257 <td>View history
</td>
260 <td class=
"shortcut">Ctrl + Shift + D
</td>
262 <td>View diff against predecessor
</td>
266 <!-- Tree navigation -->
267 <table class=
"center">
269 <td width=
"35%"> </td>
271 <td class=
"title">Navigation
</td>
274 <td class=
"shortcut">H
</td>
276 <td>Move left/collapse
</td>
279 <td class=
"shortcut">J / Alt + J
</td>
284 <td class=
"shortcut">K / Alt + K
</td>
289 <td class=
"shortcut">L
</td>
291 <td>Move right/expand
</td>
294 <td class=
"shortcut">Ctrl + J
</td>
296 <td>Focus the Diff Editor
</td>
299 <td class=
"shortcut">Ctrl + K
</td>
301 <td>Focus the Status tool
</td>
303 <tr title=
"Ctrl+L also focuses the DAG revspec, grep query, ...">
304 <td class=
"shortcut">Ctrl + L
</td>
306 <td>Focus the Commit tool
</td>