2020-08-07 18:41:07 +02:00
|
|
|
# Lazygit Sneltoetsen
|
2019-03-16 09:43:13 +02:00
|
|
|
|
2021-04-04 01:43:33 +02:00
|
|
|
## Globale Sneltoetsen
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
2021-06-15 00:37:56 +02:00
|
|
|
<kbd>ctrl+r</kbd>: wissel naar een recente repo (<c-r>)
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>pgup</kbd>: scroll naar beneden vanaf hoofdpaneel (fn+up)
|
|
|
|
<kbd>pgdown</kbd>: scroll naar beneden vanaf hoofdpaneel (fn+down)
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>m</kbd>: bekijk merge/rebase opties
|
2020-08-07 18:41:07 +02:00
|
|
|
<kbd>ctrl+p</kbd>: bekijk aangepaste patch opties
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>P</kbd>: push
|
|
|
|
<kbd>p</kbd>: pull
|
|
|
|
<kbd>R</kbd>: verversen
|
2020-03-12 07:29:15 +02:00
|
|
|
<kbd>x</kbd>: open menu
|
2020-08-07 18:41:07 +02:00
|
|
|
<kbd>z</kbd>: ongedaan maken (via reflog) (experimenteel)
|
|
|
|
<kbd>ctrl+z</kbd>: redo (via reflog) (experimenteel)
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>+</kbd>: volgende scherm modus (normaal/half/groot)
|
|
|
|
<kbd>_</kbd>: vorige scherm modus
|
|
|
|
<kbd>:</kbd>: voor aangepaste commando uit
|
2021-07-27 12:15:12 +02:00
|
|
|
<kbd>ctrl+s</kbd>: bekijk scoping opties
|
2020-10-01 23:32:48 +02:00
|
|
|
<kbd>W</kbd>: open diff menu
|
|
|
|
<kbd>ctrl+e</kbd>: open diff menu
|
2021-06-15 00:37:56 +02:00
|
|
|
<kbd>@</kbd>: open command log menu
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2021-04-04 01:43:33 +02:00
|
|
|
## Lijstpaneel Navigatie
|
2020-03-23 14:22:10 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-10-01 23:32:48 +02:00
|
|
|
<kbd>.</kbd>: volgende pagina
|
2021-02-09 11:23:20 +02:00
|
|
|
<kbd>,</kbd>: vorige pagina
|
2020-10-01 23:32:48 +02:00
|
|
|
<kbd><</kbd>: scroll naar boven
|
|
|
|
<kbd>></kbd>: scroll naar beneden
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>/</kbd>: start met zoeken
|
|
|
|
<kbd>]</kbd>: volgende tabblad
|
|
|
|
<kbd>[</kbd>: vorige tabblad
|
2020-03-23 14:22:10 +02:00
|
|
|
</pre>
|
|
|
|
|
2021-04-04 01:43:33 +02:00
|
|
|
## Branches Paneel (Branches Tabblad)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>space</kbd>: uitchecken
|
2021-07-27 12:15:12 +02:00
|
|
|
<kbd>o</kbd>: maak een pull-request
|
2021-06-09 14:09:19 +02:00
|
|
|
<kbd>O</kbd>: bekijk opties voor pull-aanvraag
|
2021-02-09 11:23:20 +02:00
|
|
|
<kbd>ctrl+y</kbd>: kopieer de URL van het pull-verzoek naar het klembord
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>c</kbd>: uitchecken bij naam
|
|
|
|
<kbd>F</kbd>: forceer checkout
|
|
|
|
<kbd>n</kbd>: nieuwe branch
|
|
|
|
<kbd>d</kbd>: verwijder branch
|
|
|
|
<kbd>r</kbd>: rebase branch
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>M</kbd>: merge in met huidige checked out branch
|
2020-08-07 18:41:07 +02:00
|
|
|
<kbd>i</kbd>: laat git-flow opties zien
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>f</kbd>: fast-forward deze branch vanaf zijn upstream
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>g</kbd>: bekijk reset opties
|
2020-08-07 18:41:07 +02:00
|
|
|
<kbd>R</kbd>: hernoem branch
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>ctrl+o</kbd>: kopieer branch name naar klembord
|
|
|
|
<kbd>enter</kbd>: bekijk commits
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2021-04-04 01:43:33 +02:00
|
|
|
## Branches Paneel (Remote Branches (in Remotes tabblad))
|
2020-02-29 00:17:19 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>esc</kbd>: Ga terug naar remotes lijst
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>g</kbd>: bekijk reset opties
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>enter</kbd>: bekijk commits
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>space</kbd>: uitchecken
|
2020-07-18 11:41:13 +02:00
|
|
|
<kbd>n</kbd>: nieuwe branch
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>M</kbd>: merge in met huidige checked out branch
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>d</kbd>: verwijder branch
|
|
|
|
<kbd>r</kbd>: rebase branch
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>u</kbd>: stel in als upstream van uitgecheckte branch
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
2021-04-04 01:43:33 +02:00
|
|
|
## Branches Paneel (Remotes Tabblad)
|
2020-02-29 00:17:19 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>f</kbd>: fetch remote
|
|
|
|
<kbd>n</kbd>: voeg een nieuwe remote toe
|
2020-08-07 18:41:07 +02:00
|
|
|
<kbd>d</kbd>: verwijder remote
|
|
|
|
<kbd>e</kbd>: wijzig remote
|
2020-10-01 23:32:48 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Branches Paneel (Sub-commits)
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>enter</kbd>: bekijk gecommite bestanden
|
|
|
|
<kbd>space</kbd>: checkout commit
|
|
|
|
<kbd>g</kbd>: bekijk reset opties
|
|
|
|
<kbd>n</kbd>: nieuwe branch
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>c</kbd>: kopieer commit (cherry-pick)
|
|
|
|
<kbd>C</kbd>: kopieer commit reeks (cherry-pick)
|
|
|
|
<kbd>ctrl+r</kbd>: reset cherry-picked (gekopieerde) commits selectie
|
|
|
|
<kbd>ctrl+o</kbd>: kopieer commit SHA naar klembord
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
2021-04-04 01:43:33 +02:00
|
|
|
## Branches Paneel (Tags Tabblad)
|
2020-02-29 00:17:19 +02:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>space</kbd>: uitchecken
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>d</kbd>: verwijder tag
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>P</kbd>: push tag
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>n</kbd>: creëer tag
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>g</kbd>: bekijk reset opties
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>enter</kbd>: bekijk commits
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-08-07 18:41:07 +02:00
|
|
|
## Commit bestanden Paneel
|
2020-02-29 00:17:19 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-10-01 23:32:48 +02:00
|
|
|
<kbd>ctrl+o</kbd>: kopieer de vastgelegde bestandsnaam naar het klembord
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>c</kbd>: bestand uitchecken
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>d</kbd>: uitsluit deze commit zijn veranderingen aan dit bestand
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>o</kbd>: open bestand
|
2020-07-21 10:12:05 +02:00
|
|
|
<kbd>e</kbd>: verander bestand
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>space</kbd>: toggle bestand inbegrepen in patch
|
2021-06-15 00:37:56 +02:00
|
|
|
<kbd>enter</kbd>: enter bestand om geselecteerde regels toe te voegen aan de patch
|
|
|
|
<kbd>`</kbd>: toggle bestandsboom weergave
|
2020-03-10 04:54:55 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-10-01 23:32:48 +02:00
|
|
|
## Commits Paneel (Commits)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>s</kbd>: squash beneden
|
|
|
|
<kbd>r</kbd>: hernoem commit
|
2020-08-07 18:41:07 +02:00
|
|
|
<kbd>R</kbd>: hernoem commit met editor
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>g</kbd>: reset naar deze commit
|
|
|
|
<kbd>f</kbd>: Fixup commit
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>F</kbd>: creëer fixup commit voor deze commit
|
|
|
|
<kbd>S</kbd>: squash bovenstaande commits
|
2019-04-14 17:21:21 +02:00
|
|
|
<kbd>d</kbd>: verwijder commit
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>ctrl+j</kbd>: verplaats commit 1 naar beneden
|
|
|
|
<kbd>ctrl+k</kbd>: verplaats commit 1 naar boven
|
|
|
|
<kbd>e</kbd>: wijzig commit
|
|
|
|
<kbd>A</kbd>: wijzig commit met staged veranderingen
|
|
|
|
<kbd>p</kbd>: kies commit (wanneer midden in rebase)
|
|
|
|
<kbd>t</kbd>: commit ongedaan maken
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>c</kbd>: kopieer commit (cherry-pick)
|
|
|
|
<kbd>ctrl+o</kbd>: kopieer commit SHA naar klembord
|
|
|
|
<kbd>C</kbd>: kopieer commit reeks (cherry-pick)
|
2019-04-14 17:21:21 +02:00
|
|
|
<kbd>v</kbd>: plak commits (cherry-pick)
|
2019-04-14 18:05:56 +02:00
|
|
|
<kbd>enter</kbd>: bekijk gecommite bestanden
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>space</kbd>: checkout commit
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>n</kbd>: creëer nieuwe branch van commit
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>T</kbd>: tag commit
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>ctrl+r</kbd>: reset cherry-picked (gekopieerde) commits selectie
|
|
|
|
<kbd>ctrl+y</kbd>: kopieer commit bericht naar klembord
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2021-04-04 01:43:33 +02:00
|
|
|
## Commits Paneel (Reflog Tabblad)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-10-01 23:32:48 +02:00
|
|
|
<kbd>enter</kbd>: bekijk gecommite bestanden
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>space</kbd>: checkout commit
|
|
|
|
<kbd>g</kbd>: bekijk reset opties
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>c</kbd>: kopieer commit (cherry-pick)
|
|
|
|
<kbd>C</kbd>: kopieer commit reeks (cherry-pick)
|
|
|
|
<kbd>ctrl+r</kbd>: reset cherry-picked (gekopieerde) commits selectie
|
|
|
|
<kbd>ctrl+o</kbd>: kopieer commit SHA naar klembord
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2021-06-15 00:37:56 +02:00
|
|
|
## Extras Paneel
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>@</kbd>: open command log menu
|
|
|
|
</pre>
|
|
|
|
|
2020-10-01 23:32:48 +02:00
|
|
|
## Bestanden Paneel (Bestanden)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>c</kbd>: Commit veranderingen
|
|
|
|
<kbd>w</kbd>: commit veranderingen zonder pre-commit hook
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>A</kbd>: wijzig laatste commit
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>C</kbd>: commit veranderingen met de git editor
|
|
|
|
<kbd>space</kbd>: toggle staged
|
|
|
|
<kbd>d</kbd>: bekijk 'veranderingen ongedaan maken' opties
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>e</kbd>: verander bestand
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>o</kbd>: open bestand
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>i</kbd>: voeg toe aan .gitignore
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>r</kbd>: refresh bestanden
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>s</kbd>: stash-bestanden
|
2020-08-07 18:41:07 +02:00
|
|
|
<kbd>S</kbd>: bekijk stash opties
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>a</kbd>: toggle staged alle
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>D</kbd>: bekijk reset opties
|
|
|
|
<kbd>enter</kbd>: stage individuele hunks/lijnen
|
|
|
|
<kbd>f</kbd>: fetch
|
2020-10-01 23:32:48 +02:00
|
|
|
<kbd>ctrl+o</kbd>: kopieer de bestandsnaam naar het klembord
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>g</kbd>: bekijk upstream reset opties
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>`</kbd>: toggle bestandsboom weergave
|
2021-06-15 00:37:56 +02:00
|
|
|
<kbd>M</kbd>: open external merge tool (git mergetool)
|
2021-07-27 12:15:12 +02:00
|
|
|
<kbd>ctrl+w</kbd>: Toggle whether or not whitespace changes are shown in the diff view
|
2020-10-01 23:32:48 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Bestanden Paneel (Submodules)
|
|
|
|
|
|
|
|
<pre>
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>ctrl+o</kbd>: kopieer submodule naam naar klembord
|
2020-10-01 23:32:48 +02:00
|
|
|
<kbd>enter</kbd>: enter submodule
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>d</kbd>: bekijk reset en verwijder submodule opties
|
2020-10-01 23:32:48 +02:00
|
|
|
<kbd>u</kbd>: update submodule
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>n</kbd>: voeg nieuwe submodule toe
|
2020-10-01 23:32:48 +02:00
|
|
|
<kbd>e</kbd>: update submodule URL
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>i</kbd>: initialiseer submodule
|
|
|
|
<kbd>b</kbd>: bekijk bulk submodule opties
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2021-04-04 01:43:33 +02:00
|
|
|
## Hoofd Paneel (Mergen)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: ga terug naar het bestanden paneel
|
2021-06-15 00:37:56 +02:00
|
|
|
<kbd>M</kbd>: open external merge tool (git mergetool)
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>space</kbd>: kies hunk
|
|
|
|
<kbd>b</kbd>: kies bijde hunks
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>◄</kbd>: selecteer voorgaand conflict
|
|
|
|
<kbd>►</kbd>: selecteer volgende conflict
|
|
|
|
<kbd>▲</kbd>: selecteer bovenste hunk
|
|
|
|
<kbd>▼</kbd>: selecteer onderste hunk
|
|
|
|
<kbd>z</kbd>: ongedaan maken
|
|
|
|
</pre>
|
|
|
|
|
2021-04-04 01:43:33 +02:00
|
|
|
## Hoofd Paneel (Normaal)
|
2020-02-29 00:17:19 +02:00
|
|
|
|
|
|
|
<pre>
|
2021-04-06 01:51:04 +02:00
|
|
|
<kbd>Ő</kbd>: scroll omlaag (fn+up)
|
|
|
|
<kbd>ő</kbd>: scroll omhoog (fn+down)
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
2021-04-04 01:43:33 +02:00
|
|
|
## Hoofd Paneel (Patch Bouwen)
|
2020-02-29 00:17:19 +02:00
|
|
|
|
|
|
|
<pre>
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>esc</kbd>: sluit lijn-bij-lijn modus
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>o</kbd>: open bestand
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>▲</kbd>: selecteer de vorige lijn
|
|
|
|
<kbd>▼</kbd>: selecteer de volgende lijn
|
|
|
|
<kbd>◄</kbd>: selecteer de vorige hunk
|
|
|
|
<kbd>►</kbd>: selecteer de volgende hunk
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>space</kbd>: voeg toe/verwijder lijn(en) in patch
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>v</kbd>: toggle drag selecteer
|
|
|
|
<kbd>V</kbd>: toggle drag selecteer
|
|
|
|
<kbd>a</kbd>: toggle selecteer hunk
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2021-04-04 01:43:33 +02:00
|
|
|
## Hoofd Paneel (Staging)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: ga terug naar het bestanden paneel
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>space</kbd>: toggle lijnen staged / unstaged
|
|
|
|
<kbd>d</kbd>: verwijdert change (git reset)
|
|
|
|
<kbd>tab</kbd>: ga naar een ander paneel
|
|
|
|
<kbd>o</kbd>: open bestand
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>▲</kbd>: selecteer de vorige lijn
|
|
|
|
<kbd>▼</kbd>: selecteer de volgende lijn
|
|
|
|
<kbd>◄</kbd>: selecteer de vorige hunk
|
|
|
|
<kbd>►</kbd>: selecteer de volgende hunk
|
|
|
|
<kbd>e</kbd>: verander bestand
|
|
|
|
<kbd>o</kbd>: open bestand
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>v</kbd>: toggle drag selecteer
|
|
|
|
<kbd>V</kbd>: toggle drag selecteer
|
|
|
|
<kbd>a</kbd>: toggle selecteer hunk
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>c</kbd>: Commit veranderingen
|
|
|
|
<kbd>w</kbd>: commit veranderingen zonder pre-commit hook
|
|
|
|
<kbd>C</kbd>: commit veranderingen met de git editor
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
2019-05-25 08:37:47 +02:00
|
|
|
|
2020-08-07 18:41:07 +02:00
|
|
|
## Menu Paneel
|
2020-03-10 04:54:55 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-08-07 18:41:07 +02:00
|
|
|
<kbd>esc</kbd>: sluit menu
|
2020-03-10 04:54:55 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-08-07 18:41:07 +02:00
|
|
|
## Stash Paneel
|
2019-05-25 08:37:47 +02:00
|
|
|
|
|
|
|
<pre>
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>enter</kbd>: bekijk bestanden van stash entry
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>space</kbd>: toepassen
|
|
|
|
<kbd>g</kbd>: pop
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>d</kbd>: laten vallen
|
2020-10-01 23:32:48 +02:00
|
|
|
<kbd>n</kbd>: nieuwe branch
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-08-07 18:41:07 +02:00
|
|
|
## Status Paneel
|
2020-02-29 00:17:19 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-08-15 03:23:14 +02:00
|
|
|
<kbd>e</kbd>: verander config bestand
|
2020-08-07 18:41:07 +02:00
|
|
|
<kbd>o</kbd>: open config bestand
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>u</kbd>: check voor updates
|
|
|
|
<kbd>enter</kbd>: wissel naar een recente repo
|
2021-04-04 01:43:33 +02:00
|
|
|
<kbd>a</kbd>: alle logs van de branch laten zien
|
2019-05-25 08:37:47 +02:00
|
|
|
</pre>
|