detached fda3c2b

commit-modify-split.html RawHistoryFolder

1<!doctype html>
2<html lang="en">
3<head>
4<meta charset="utf-8">
5<meta name="viewport" content="width=device-width, initial-scale=1">
6<meta name="color-scheme" content="light dark">
7<title>SHA7 modify a file and make a script executable · diffs · example.test</title>
8<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff">
9<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0c0c0c">
10<meta name="apple-mobile-web-app-title" content="ermite">
11<link rel="icon" type="image/svg+xml" href="/-/static/img/icon.HASH.svg">
12<link rel="apple-touch-icon" href="/-/static/app/apple-touch-icon.HASH.png">
13<link rel="manifest" href="/-/static/app/manifest.HASH.webmanifest">
14<link rel="preload" href="/-/static/fonts/atkinson-next.HASH.woff2" as="font" type="font/woff2" crossorigin>
15<link rel="stylesheet" href="/-/static/css/ermite.HASH.css">
16<meta name="htmx-config" content='{"history":false,"includeIndicatorCSS":false,"extensions":"sse, hx-live"}'>
17<script src="/-/static/js/htmx.min.HASH.js" defer>
18</script>
19<script src="/-/static/js/hx-live.min.HASH.js" defer>
20</script>
21<script src="/-/static/js/hx-sse.min.HASH.js" defer>
22</script>
23<script src="/-/static/js/store.HASH.js">
24</script>
25<script src="/-/static/js/ermite.HASH.js" defer>
26</script>
27<script src="/-/static/js/files.HASH.js" defer>
28</script>
29<script src="/-/static/js/passkey.HASH.js" defer>
30</script>
31<script src="/-/static/js/log.HASH.js" defer>
32</script>
33<script src="/-/static/js/lazy.HASH.js" defer>
34</script>
35</head>
36<body data-ref="" data-sha="SHA40" data-sel="" data-nav="" data-paths="/diffs/paths/SHA40" data-blob="/diffs/blob/SHA40">
37<a class="skip" href="#main">skip to content</a>
38<header class="hdr">
39<div class="hdr-top">
40<a class="brand" href="/" data-g="h" aria-label="home" title="home (g h)">
41<span class="brand-mark" aria-hidden="true">
42</span>
43</a>
44<nav class="crumbs" aria-label="Path">
45<ol>
46<li>
47<a href="/diffs">diffs</a>
48</li>
49<li>
50<a href="/diffs/commits/main">commit</a>
51</li>
52<li>
53<span aria-current="page">SHA7</span>
54</li>
55</ol>
56</nav>
57<div class="hdr-acts">
58<a class="btn ref" href="/diffs/refs" data-fire="refs" aria-keyshortcuts="b" title="switch branch or tag (b)">
59<span class="ico i-branch" aria-hidden="true">
60</span>
61<span class="ref-name">detached</span>
62<span class="sha">SHA7</span>
63</a>
64<button type="button" class="btn search" data-js aria-haspopup="dialog" aria-controls="panel-cmd" aria-keyshortcuts="Control+K :" title="go to a section, ref, file or repo (ctrl k or :)" data-fire="cmd">
65<span class="ico i-search" aria-hidden="true">
66</span>
67<span class="search-label">Go to…</span>
68<kbd aria-hidden="true">ctrl k</kbd>
69</button>
70</div>
71</div>
72<nav class="tabs" aria-label="Sections">
73<ul>
74<li>
75<a href="/diffs" data-key="s" aria-keyshortcuts="s">Summary <kbd aria-hidden="true">s</kbd>
76</a>
77</li>
78<li>
79<a href="/diffs/tree/main" data-key="t" aria-keyshortcuts="t">Files <kbd aria-hidden="true">t</kbd>
80</a>
81</li>
82<li>
83<a href="/diffs/commits/main" data-key="c" aria-keyshortcuts="c" aria-current="page">Commits <kbd aria-hidden="true">c</kbd>
84</a>
85</li>
86<li>
87<a href="/diffs/refs" data-key="r" aria-keyshortcuts="r">Branches &amp; tags <kbd aria-hidden="true">r</kbd>
88</a>
89</li>
90<li>
91<a href="/diffs/merge-requests" data-key="m" aria-keyshortcuts="m">Merge requests <kbd aria-hidden="true">m</kbd>
92</a>
93</li>
94<li>
95<a href="/diffs/releases" data-key="l" aria-keyshortcuts="l">Releases <kbd aria-hidden="true">l</kbd>
96</a>
97</li>
98<li>
99<a href="/diffs/actions" data-key="a" aria-keyshortcuts="a">Actions <kbd aria-hidden="true">a</kbd>
100</a>
101</li>
102</ul>
103</nav>
104</header>
105<div class="work has-rail">
106<main id="main" tabindex="-1">
107<header class="show">
108<h1>modify a file and make a script executable</h1>
109<pre class="msg">The body has a second paragraph.
110And &lt;b&gt;html&lt;/b&gt; &amp; &#34;quotes&#34;.</pre>
111<dl class="kv show-kv">
112<dt>commit</dt>
113<dd>SHA40</dd>
114<dt>author</dt>
115<dd>T  · <time datetime="STAMP" title="STAMP">AGO</time> · STAMP</dd>
116<dt>parent</dt>
117<dd>
118<a href="/diffs/commit/SHA40">SHA7</a>
119</dd>
120<dt>signature</dt>
121<dd>
122<span class="pill sig sig-none" title="This commit is not signed">unsigned</span>
123</dd>
124<dt>refs</dt>
125<dd>
126<span class="pill">tag: v1.0.0</span>
127</dd>
128</dl>
129</header>
130<div class="diff-tools" role="group" aria-label="Diff view">
131<span class="dim">2 files · <span class="plus">+2</span>
132<span class="minus">-1</span>
133</span>
134<span class="grow">
135</span>
136<details class="menu vmenu">
137<summary class="btn" aria-label="Diff view">
138<span hx-live="this.textContent = q('#diffs').attr['data-mobile'] !== 'true' && q('#diffs').attr['data-diff'] === 'split' ? 'Split' : 'Unified'">Split</span>
139</summary>
140<div class="menu-pop" role="group" aria-label="Diff view">
141<a href="/diffs/commit/SHA40?view=unified" class="btn vbtn" data-view="unified" aria-keyshortcuts="u" data-fire="unified" :aria-current="(q('#diffs').attr['data-mobile'] === 'true' ? 'unified' : q('#diffs').attr['data-diff']) === this.dataset.view ? 'true' : false">Unified<kbd aria-hidden="true">u</kbd>
142</a>
143<a href="/diffs/commit/SHA40?view=split" class="btn vbtn" data-view="split" aria-keyshortcuts="d" :aria-disabled="q('#diffs').attr['data-mobile'] === 'true' ? 'true' : false" :title="q('#diffs').attr['data-mobile'] === 'true' ? 'Split view requires a wider screen' : 'Split view'" aria-current="true" data-fire="split" :aria-current="(q('#diffs').attr['data-mobile'] === 'true' ? 'unified' : q('#diffs').attr['data-diff']) === this.dataset.view ? 'true' : false">Split<kbd aria-hidden="true">d</kbd>
144</a>
145<button type="button" aria-keyshortcuts="x" data-js data-fire="collapse" class="btn">
146<span hx-live="this.textContent = q('[data-file][open]').count || !q('[data-file]').count ? 'Collapse all' : 'Expand all'">Collapse all</span>
147<kbd aria-hidden="true">x</kbd>
148</button>
149</div>
150</details>
151</div>
152<div id="diffs" data-diff="split">
153<details class="dfile lnw-2" id="f1" data-file="a.txt" open>
154<summary>
155<span class="st">M</span>
156<span class="p">a.txt</span>
157<span class="plus">+2</span>
158<span class="minus">-1</span>
159</summary>
160<div class="dscroll">
161<table class="dt uni" aria-label="a.txt, unified">
162<tbody>
163<tr class="hunk">
164<td colspan="4">@@ -1,5 +1,6 @@</td>
165</tr>
166<tr class="ctx">
167<td class="ln">1</td>
168<td class="ln">1</td>
169<td class="m">
170</td>
171<td class="tx chroma">one</td>
172</tr>
173<tr class="del">
174<td class="ln">2</td>
175<td class="ln">
176</td>
177<td class="m">-</td>
178<td class="tx chroma">two</td>
179</tr>
180<tr class="add">
181<td class="ln">
182</td>
183<td class="ln">2</td>
184<td class="m">+</td>
185<td class="tx chroma">2</td>
186</tr>
187<tr class="ctx">
188<td class="ln">3</td>
189<td class="ln">3</td>
190<td class="m">
191</td>
192<td class="tx chroma">three</td>
193</tr>
194<tr class="ctx">
195<td class="ln">4</td>
196<td class="ln">4</td>
197<td class="m">
198</td>
199<td class="tx chroma">four</td>
200</tr>
201<tr class="ctx">
202<td class="ln">5</td>
203<td class="ln">5</td>
204<td class="m">
205</td>
206<td class="tx chroma">five</td>
207</tr>
208<tr class="add">
209<td class="ln">
210</td>
211<td class="ln">6</td>
212<td class="m">+</td>
213<td class="tx chroma">six</td>
214</tr>
215</tbody>
216</table>
217<table class="dt spl" aria-label="a.txt, split">
218<colgroup>
219<col class="c-ln">
220<col class="c-m">
221<col>
222<col class="c-ln">
223<col class="c-m">
224<col>
225</colgroup>
226<tbody>
227<tr class="hunk">
228<td colspan="6">@@ -1,5 +1,6 @@</td>
229</tr>
230<tr>
231<td class="ln ctx">1</td>
232<td class="m ctx">
233</td>
234<td class="tx chroma ctx">one</td>
235<td class="ln ctx">1</td>
236<td class="m ctx">
237</td>
238<td class="tx chroma ctx">one</td>
239</tr>
240<tr>
241<td class="ln del">2</td>
242<td class="m del">-</td>
243<td class="tx chroma del">two</td>
244<td class="ln add">2</td>
245<td class="m add">+</td>
246<td class="tx chroma add">2</td>
247</tr>
248<tr>
249<td class="ln ctx">3</td>
250<td class="m ctx">
251</td>
252<td class="tx chroma ctx">three</td>
253<td class="ln ctx">3</td>
254<td class="m ctx">
255</td>
256<td class="tx chroma ctx">three</td>
257</tr>
258<tr>
259<td class="ln ctx">4</td>
260<td class="m ctx">
261</td>
262<td class="tx chroma ctx">four</td>
263<td class="ln ctx">4</td>
264<td class="m ctx">
265</td>
266<td class="tx chroma ctx">four</td>
267</tr>
268<tr>
269<td class="ln ctx">5</td>
270<td class="m ctx">
271</td>
272<td class="tx chroma ctx">five</td>
273<td class="ln ctx">5</td>
274<td class="m ctx">
275</td>
276<td class="tx chroma ctx">five</td>
277</tr>
278<tr>
279<td class="ln none">
280</td>
281<td class="m none">
282</td>
283<td class="tx none">
284</td>
285<td class="ln add">6</td>
286<td class="m add">+</td>
287<td class="tx chroma add">six</td>
288</tr>
289</tbody>
290</table>
291</div>
292</details>
293<details class="dfile lnw-2" id="f2" data-file="run.sh">
294<summary>
295<span class="st">M</span>
296<span class="p">run.sh</span>
297<span class="plus">+0</span>
298<span class="minus">-0</span>
299<span class="note">mode 100644 → 100755</span>
300</summary>
301<p class="note pad">mode 100644 → 100755</p>
302</details>
303</div>
304</main>
305<aside class="rail" aria-label="Context">
306<section aria-labelledby="r-files">
307<h2 id="r-files">Files <span class="count">2</span>
308</h2>
309<ol class="files" aria-label="Changed files">
310<li>
311<a href="#f1" title="a.txt" hx-on:click="(window.ermiteMR?.openFile || ermite.openFile)(this.hash.slice(1))">
312<span class="st" data-st="M" title="modified">M</span>
313<span class="nm">
314<span class="p">a.txt</span>
315<span class="d">
316<bdi>
317</bdi>
318</span>
319</span>
320<span class="n">
321<span class="plus">+2</span>
322<span class="minus">-1</span>
323</span>
324</a>
325</li>
326<li>
327<a href="#f2" title="run.sh" hx-on:click="(window.ermiteMR?.openFile || ermite.openFile)(this.hash.slice(1))">
328<span class="st" data-st="M" title="modified">M</span>
329<span class="nm">
330<span class="p">run.sh</span>
331<span class="d">
332<bdi>
333</bdi>
334</span>
335</span>
336<span class="n">
337<span class="plus">+0</span>
338<span class="minus">-0</span>
339</span>
340</a>
341</li>
342</ol>
343</section>
344</aside>
345</div>
346<footer class="foot">
347<span>ermite devel</span>
348<a href="http://example.test/ermite" rel="noopener" title="source of this version (AGPL-3.0-or-later)">source</a>
349<button type="button" class="foot-keys" data-js data-fire="help" aria-haspopup="dialog" aria-controls="panel-help" aria-keyshortcuts="?">
350<kbd aria-hidden="true">?</kbd> keyboard shortcuts</button>
351</footer>
352<div class="hint" role="status" aria-live="polite">
353<span class="hint-nav" :text="document.body.dataset.nav || ''">
354</span>
355<span class="hint-sel" :text="document.body.dataset.sel ? document.body.dataset.sel + ' · y permalink' : ''">
356</span>
357<span class="hint-flash" :text="document.body.dataset.flash || ''">
358</span>
359</div>
360<dialog id="panel-help" class="panel modal" aria-label="Keyboard shortcuts" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
361<div class="panel-head">
362<h2>Keyboard shortcuts</h2>
363<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
364<kbd>esc</kbd> close</button>
365</div>
366<div class="keys-pref">
367<label>
368<input type="checkbox" id="keys-off" aria-describedby="keys-note" hx-on:change="ermite.setKeysOff(this.checked)"> Turn off single-key shortcuts</label>
369<p id="keys-note" class="dim">Single-key shortcuts are on. ctrl k and esc work whatever this says.</p>
370</div>
371<dl class="keys">
372<div>
373<dt>
374<kbd>ctrl k</kbd>
375<kbd>:</kbd>
376</dt>
377<dd>go to a section, branch, tag, file or repository</dd>
378</div>
379<div>
380<dt>
381<kbd>?</kbd>
382</dt>
383<dd>this list</dd>
384</div>
385<div>
386<dt>
387<kbd>j</kbd>
388<kbd>k</kbd>
389</dt>
390<dd>move the row cursor down / up</dd>
391</div>
392<div>
393<dt>
394<kbd>enter</kbd>
395</dt>
396<dd>open the row under the cursor; on Files, a directory opens or closes in place</dd>
397</div>
398<div>
399<dt>
400<kbd>↑</kbd>
401<kbd>↓</kbd>
402<kbd>←</kbd>
403<kbd>→</kbd>
404<kbd>home</kbd>
405<kbd>end</kbd>
406</dt>
407<dd>in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file</dd>
408</div>
409<div>
410<dt>
411<kbd>l</kbd>
412<kbd>h</kbd>
413</dt>
414<dd>on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls</dd>
415</div>
416<div>
417<dt>
418<kbd>g g</kbd>
419<kbd>G</kbd>
420</dt>
421<dd>first / last row</dd>
422</div>
423<div>
424<dt>
425<kbd>/</kbd>
426</dt>
427<dd>filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)</dd>
428</div>
429<div>
430<dt>
431<kbd>b</kbd>
432</dt>
433<dd>switch branch or tag</dd>
434</div>
435<div>
436<dt>
437<kbd>s</kbd>
438<kbd>t</kbd>
439<kbd>c</kbd>
440<kbd>r</kbd>
441<kbd>m</kbd>
442<kbd>i</kbd>
443</dt>
444<dd>tabs: summary, files, commits, branches &amp; tags, merge requests, issues</dd>
445</div>
446<div>
447<dt>
448<kbd>g h</kbd>
449</dt>
450<dd>home</dd>
451</div>
452<div>
453<dt>
454<kbd>w</kbd>
455</dt>
456<dd>wide mode: use the whole width of the screen, or not (remembered)</dd>
457</div>
458<div>
459<dt>
460<kbd>y</kbd>
461</dt>
462<dd>copy a permalink pinned to the commit</dd>
463</div>
464<div>
465<dt>
466<kbd>d</kbd>
467<kbd>u</kbd>
468<kbd>x</kbd>
469</dt>
470<dd>diff: split / unified / collapse or expand all</dd>
471</div>
472<div>
473<dt>
474<kbd>e</kbd>
475<kbd>E</kbd>
476</dt>
477<dd>diff: the whole file in view / every file, with the lines the hunks hide</dd>
478</div>
479<div>
480<dt>
481<kbd>n</kbd>
482</dt>
483<dd>merge request: next note in the diff</dd>
484</div>
485<div>
486<dt>
487<kbd>esc</kbd>
488</dt>
489<dd>close a dialog, leave a field</dd>
490</div>
491</dl>
492</dialog>
493<dialog id="panel-refs" class="panel modal" aria-label="Switch ref" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
494<div class="panel-head">
495<label for="refs-filter" class="sr">filter branches and tags</label>
496<input id="refs-filter" type="search" placeholder="Switch branch or tag…" autocomplete="off" data-pick="#panel-refs li" hx-on:input="ermite.filter(this)">
497<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
498<kbd>esc</kbd>
499</button>
500</div>
501<div class="panel-cols" data-picklist>
502<section aria-label="Branches">
503<h2>Branches <span class="count">2</span>
504</h2>
505<ul>
506<li>
507<a href="/diffs/tree/main">
508<span class="mark" aria-hidden="true">&nbsp;</span>main</a>
509</li>
510<li>
511<a href="/diffs/tree/side">
512<span class="mark" aria-hidden="true">&nbsp;</span>side</a>
513</li>
514</ul>
515</section>
516<section aria-label="Tags">
517<h2>Tags <span class="count">1</span>
518</h2>
519<ul>
520<li>
521<a href="/diffs/tree/v1.0.0">
522<span class="mark" aria-hidden="true">&nbsp;</span>v1.0.0</a>
523</li>
524</ul>
525</section>
526</div>
527</dialog>
528<dialog id="panel-cmd" class="panel modal" aria-label="Go to" hx-on:close="ermiteFinder.paletteClose()" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
529<div class="panel-head">
530<label for="cmd-q" class="sr">go to</label>
531<input id="cmd-q" type="search" placeholder="Go to a section, branch, tag, file or repository…" autocomplete="off" spellcheck="false" role="combobox" aria-autocomplete="list" aria-expanded="true" aria-controls="cmd-list" aria-activedescendant="cmd-o0" hx-on:input="ermite.cmdFilter(this); ermiteFinder.palette(this)" hx-on:keydown="ermite.cmdKey(event)">
532<button type="button" class="panel-x" aria-label="Close" hx-on:click="closest('dialog').close()">
533<kbd>esc</kbd>
534</button>
535</div>
536<ul id="cmd-list" class="cmd-list" role="listbox" aria-label="Targets">
537<li id="cmd-o0" role="option" aria-selected="true" data-k="go home" data-cursor>
538<a href="/" tabindex="-1">
539<span class="lbl">home</span>
540<span class="k">go</span>
541</a>
542</li>
543<li id="cmd-o1" role="option" aria-selected="false" data-k="section summary">
544<a href="/diffs" tabindex="-1">
545<span class="lbl">summary</span>
546<span class="k">section</span>
547</a>
548</li>
549<li id="cmd-o2" role="option" aria-selected="false" data-k="section files">
550<a href="/diffs/tree/main" tabindex="-1">
551<span class="lbl">files</span>
552<span class="k">section</span>
553</a>
554</li>
555<li id="cmd-o3" role="option" aria-selected="false" data-k="section commits">
556<a href="/diffs/commits/main" tabindex="-1">
557<span class="lbl">commits</span>
558<span class="k">section</span>
559</a>
560</li>
561<li id="cmd-o4" role="option" aria-selected="false" data-k="section branches &amp; tags">
562<a href="/diffs/refs" tabindex="-1">
563<span class="lbl">branches &amp; tags</span>
564<span class="k">section</span>
565</a>
566</li>
567<li id="cmd-o5" role="option" aria-selected="false" data-k="section merge requests">
568<a href="/diffs/merge-requests" tabindex="-1">
569<span class="lbl">merge requests</span>
570<span class="k">section</span>
571</a>
572</li>
573<li id="cmd-o6" role="option" aria-selected="false" data-k="section releases">
574<a href="/diffs/releases" tabindex="-1">
575<span class="lbl">releases</span>
576<span class="k">section</span>
577</a>
578</li>
579<li id="cmd-o7" role="option" aria-selected="false" data-k="section actions">
580<a href="/diffs/actions" tabindex="-1">
581<span class="lbl">actions</span>
582<span class="k">section</span>
583</a>
584</li>
585<li id="cmd-o8" role="option" aria-selected="false" data-k="branch main">
586<a href="/diffs/tree/main" tabindex="-1">
587<span class="lbl">main</span>
588<span class="k">branch</span>
589</a>
590</li>
591<li id="cmd-o9" role="option" aria-selected="false" data-k="branch side">
592<a href="/diffs/tree/side" tabindex="-1">
593<span class="lbl">side</span>
594<span class="k">branch</span>
595</a>
596</li>
597<li id="cmd-o10" role="option" aria-selected="false" data-k="tag v1.0.0">
598<a href="/diffs/tree/v1.0.0" tabindex="-1">
599<span class="lbl">v1.0.0</span>
600<span class="k">tag</span>
601</a>
602</li>
603<li id="cmd-o11" role="option" aria-selected="false" data-k="action turn single-key shortcuts on off keyboard">
604<a href="#" data-fire="keys" tabindex="-1">
605<span class="lbl">turn single-key shortcuts off</span>
606<span class="k">action</span>
607</a>
608</li>
609</ul>
610<p class="panel-foot">
611<span>
612<kbd>↑</kbd>
613<kbd>↓</kbd> move</span>
614<span>
615<kbd>enter</kbd> open</span>
616<span>
617<kbd>esc</kbd> close</span>
618</p>
619</dialog>
620<div id="keys" hidden hx-on="k-j from:body -> ermite.move(1);
621         k-k from:body -> ermite.move(-1);
622         k-top from:body -> ermite.edge(false);
623         k-bottom from:body -> ermite.edge(true);
624         k-open from:body -> ermite.open();
625         k-right from:body -> ermite.rail(true);
626         k-left from:body -> ermite.rail(false);
627         k-esc from:body -> ermite.closeDialogs();
628         k-help from:body -> ermite.dialog('panel-help');
629         k-refs from:body -> ermite.dialog('panel-refs', 'refs-filter');
630         k-cmd from:body -> ermite.dialog('panel-cmd', 'cmd-q'); ermiteFinder.load();
631         k-filter from:body -> ermite.focusFilter();
632         k-gh from:body -> ermite.go('.brand');
633         k-s from:body -> ermite.tab('s');
634         k-t from:body -> ermite.tab('t');
635         k-c from:body -> ermite.tab('c');
636         k-r from:body -> ermite.tab('r');
637         k-m from:body -> ermite.tab('m');
638         k-i from:body -> ermite.tab('i');
639         k-next from:body -> ermite.nextNote();
640         k-split from:body -> ermite.layout('split');
641         k-unified from:body -> ermite.layout('unified');
642         k-collapse from:body -> ermite.collapse();
643         k-wide from:body -> window.ermiteWide.toggle();
644         k-expand from:body -> ermite.expandFile();
645         k-expandAll from:body -> ermite.expandAll();
646         k-permalink from:body -> ermite.permalink();
647         k-merge from:body -> window.ermiteMR?.openMerge();
648         k-read from:body -> window.ermiteMR?.markRead();
649         k-gf from:body -> window.ermiteMR?.focusFiles();
650         k-keys from:body -> ermite.toggleKeys()">
651</div>
652</body>
653</html>

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 4

Tags 45

↑↓ moveenter openesc close