2020-02-29 09:17:19 +11:00
|
|
|
# Lazygit Keybindings
|
2019-03-16 16:43:13 +09:00
|
|
|
|
|
|
|
## Global
|
|
|
|
|
|
|
|
<pre>
|
2020-02-29 09:17:19 +11:00
|
|
|
<kbd>pgup</kbd>: scroll up main panel (fn+up)
|
|
|
|
<kbd>pgdown</kbd>: scroll down main panel (fn+down)
|
2019-05-03 10:33:25 +05:30
|
|
|
<kbd>m</kbd>: bekijk merge/rebase opties
|
2020-02-29 09:17:19 +11:00
|
|
|
<kbd>ctrl+p</kbd>: view custom patch options
|
2019-03-16 16:43:13 +09:00
|
|
|
<kbd>P</kbd>: push
|
|
|
|
<kbd>p</kbd>: pull
|
|
|
|
<kbd>R</kbd>: verversen
|
2020-03-12 14:29:15 +09:00
|
|
|
<kbd>x</kbd>: open menu
|
2020-02-29 09:17:19 +11:00
|
|
|
<kbd>+</kbd>: next screen mode (normal/half/fullscreen)
|
|
|
|
<kbd>_</kbd>: prev screen mode
|
|
|
|
<kbd>:</kbd>: voor aangepast commando uit
|
2019-03-16 16:43:13 +09:00
|
|
|
</pre>
|
|
|
|
|
2020-03-23 23:22:10 +11:00
|
|
|
## Branches Panel
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>]</kbd>: next tab
|
|
|
|
<kbd>[</kbd>: previous tab
|
|
|
|
</pre>
|
|
|
|
|
2020-02-29 09:17:19 +11:00
|
|
|
## Branches Panel (Branches Tab)
|
2019-03-16 16:43:13 +09:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>space</kbd>: uitchecken
|
|
|
|
<kbd>o</kbd>: maak een pull-aanvraag
|
|
|
|
<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
|
|
|
|
<kbd>M</kbd>: merge in met huidige checked out branch
|
2020-02-29 09:17:19 +11:00
|
|
|
<kbd>i</kbd>: show git-flow options
|
2019-03-16 16:43:13 +09:00
|
|
|
<kbd>f</kbd>: fast-forward this branch from its upstream
|
2020-02-29 09:17:19 +11:00
|
|
|
<kbd>g</kbd>: bekijk reset opties
|
2020-03-18 22:08:50 +11:00
|
|
|
<kbd>R</kbd>: rename branch
|
2020-03-10 11:54:55 +09:00
|
|
|
<kbd>/</kbd>: start search
|
2019-03-16 16:43:13 +09:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 09:17:19 +11:00
|
|
|
## Branches Panel (Remote Branches (in Remotes tab))
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: return to remotes list
|
|
|
|
<kbd>g</kbd>: bekijk reset opties
|
|
|
|
<kbd>space</kbd>: uitchecken
|
|
|
|
<kbd>M</kbd>: merge in met huidige checked out branch
|
|
|
|
<kbd>d</kbd>: verwijder branch
|
|
|
|
<kbd>r</kbd>: rebase branch
|
|
|
|
<kbd>u</kbd>: set as upstream of checked-out branch
|
2020-03-10 11:54:55 +09:00
|
|
|
<kbd>/</kbd>: start search
|
2020-02-29 09:17:19 +11:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Branches Panel (Remotes Tab)
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>f</kbd>: fetch remote
|
|
|
|
<kbd>n</kbd>: add new remote
|
|
|
|
<kbd>d</kbd>: remove remote
|
|
|
|
<kbd>e</kbd>: edit remote
|
2020-03-10 11:54:55 +09:00
|
|
|
<kbd>/</kbd>: start search
|
2020-02-29 09:17:19 +11:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Branches Panel (Tags Tab)
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>space</kbd>: uitchecken
|
|
|
|
<kbd>d</kbd>: delete tag
|
|
|
|
<kbd>P</kbd>: push tag
|
|
|
|
<kbd>n</kbd>: create tag
|
|
|
|
<kbd>g</kbd>: bekijk reset opties
|
2020-03-10 11:54:55 +09:00
|
|
|
<kbd>/</kbd>: start search
|
2020-02-29 09:17:19 +11:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Commit bestanden Panel
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: ga terug
|
|
|
|
<kbd>c</kbd>: bestand uitchecken
|
|
|
|
<kbd>d</kbd>: uitsluit deze commit zijn veranderingen aan dit bestand
|
|
|
|
<kbd>o</kbd>: open bestand
|
|
|
|
<kbd>space</kbd>: toggle file included in patch
|
|
|
|
<kbd>enter</kbd>: enter file to add selected lines to the patch
|
2020-03-10 11:54:55 +09:00
|
|
|
<kbd>/</kbd>: start search
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Commits Panel
|
|
|
|
|
|
|
|
<pre>
|
2020-03-23 23:22:10 +11:00
|
|
|
<kbd>]</kbd>: next tab
|
|
|
|
<kbd>[</kbd>: previous tab
|
2020-03-10 11:54:55 +09:00
|
|
|
<kbd>/</kbd>: start search
|
2020-02-29 09:17:19 +11:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Commits Panel (Commits Tab)
|
2019-03-16 16:43:13 +09:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>s</kbd>: squash beneden
|
|
|
|
<kbd>r</kbd>: hernoem commit
|
2019-05-03 10:33:25 +05:30
|
|
|
<kbd>R</kbd>: rename commit with editor
|
2019-03-16 16:43:13 +09:00
|
|
|
<kbd>g</kbd>: reset naar deze commit
|
|
|
|
<kbd>f</kbd>: Fixup commit
|
2019-05-03 10:33:25 +05:30
|
|
|
<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
|
2019-05-25 16:37:47 +10:00
|
|
|
<kbd>ctrl+j</kbd>: verplaats commit 1 omlaag
|
|
|
|
<kbd>ctrl+k</kbd>: verplaats commit 1 omhoog
|
2019-05-03 10:33:25 +05:30
|
|
|
<kbd>e</kbd>: verander commit
|
|
|
|
<kbd>A</kbd>: wijzig commit met staged veranderingen
|
2019-03-16 16:43:13 +09:00
|
|
|
<kbd>p</kbd>: pick commit (when mid-rebase)
|
2019-05-03 10:33:25 +05:30
|
|
|
<kbd>t</kbd>: commit omgedaan maken
|
2019-04-14 17:21:21 +02:00
|
|
|
<kbd>c</kbd>: kopiëer commit (cherry-pick)
|
2019-05-03 10:33:25 +05:30
|
|
|
<kbd>C</kbd>: kopiëer 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 09:17:19 +11:00
|
|
|
<kbd>space</kbd>: checkout commit
|
|
|
|
<kbd>i</kbd>: select commit to diff with another commit
|
|
|
|
<kbd>T</kbd>: tag commit
|
2020-03-23 23:22:10 +11:00
|
|
|
<kbd>ctrl+r</kbd>: reset cherry-picked (copied) commits selection
|
2019-03-16 16:43:13 +09:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 09:17:19 +11:00
|
|
|
## Commits Panel (Reflog Tab)
|
2019-03-16 16:43:13 +09:00
|
|
|
|
|
|
|
<pre>
|
2020-02-29 09:17:19 +11:00
|
|
|
<kbd>space</kbd>: checkout commit
|
|
|
|
<kbd>g</kbd>: bekijk reset opties
|
2019-03-16 16:43:13 +09:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 09:17:19 +11:00
|
|
|
## Bestanden Panel
|
2019-03-16 16:43:13 +09:00
|
|
|
|
|
|
|
<pre>
|
2020-02-29 09:17:19 +11:00
|
|
|
<kbd>c</kbd>: Commit veranderingen
|
|
|
|
<kbd>w</kbd>: commit veranderingen zonder pre-commit hook
|
|
|
|
<kbd>A</kbd>: wijzig laatste commit
|
|
|
|
<kbd>C</kbd>: commit veranderingen met de git editor
|
|
|
|
<kbd>space</kbd>: toggle staged
|
|
|
|
<kbd>d</kbd>: bekijk 'veranderingen ongedaan maken' opties
|
|
|
|
<kbd>e</kbd>: verander bestand
|
2019-03-16 16:43:13 +09:00
|
|
|
<kbd>o</kbd>: open bestand
|
2020-02-29 09:17:19 +11:00
|
|
|
<kbd>i</kbd>: voeg toe aan .gitignore
|
|
|
|
<kbd>r</kbd>: refresh bestanden
|
|
|
|
<kbd>s</kbd>: stash-bestanden
|
|
|
|
<kbd>S</kbd>: view stash options
|
|
|
|
<kbd>a</kbd>: toggle staged alle
|
|
|
|
<kbd>D</kbd>: bekijk reset opties
|
|
|
|
<kbd>enter</kbd>: stage individuele hunks/lijnen
|
|
|
|
<kbd>f</kbd>: fetch
|
|
|
|
<kbd>g</kbd>: view upstream reset options
|
2020-03-10 11:54:55 +09:00
|
|
|
<kbd>/</kbd>: start search
|
2019-03-16 16:43:13 +09:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 09:17:19 +11:00
|
|
|
## Hoofd Panel (Merging)
|
2019-03-16 16:43:13 +09:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: ga terug naar het bestanden paneel
|
2020-02-29 09:17:19 +11:00
|
|
|
<kbd>space</kbd>: pick hunk
|
|
|
|
<kbd>b</kbd>: pick beide hunks
|
|
|
|
<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>
|
|
|
|
|
|
|
|
## Hoofd Panel (Normaal)
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd> ̄</kbd>: scroll omlaag (fn+up)
|
|
|
|
<kbd>¦</kbd>: scroll omhoog (fn+down)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Hoofd Panel (Patch Building)
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: exit line-by-line mode
|
2019-05-03 10:33:25 +05:30
|
|
|
<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-03-05 09:36:35 +09:00
|
|
|
<kbd>space</kbd>: add/remove line(s) to patch
|
2020-02-29 09:17:19 +11:00
|
|
|
<kbd>v</kbd>: toggle drag select
|
|
|
|
<kbd>V</kbd>: toggle drag select
|
|
|
|
<kbd>a</kbd>: toggle select hunk
|
2019-03-16 16:43:13 +09:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 09:17:19 +11:00
|
|
|
## Hoofd Panel (Stage Lines/Hunks)
|
2019-03-16 16:43:13 +09:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: ga terug naar het bestanden paneel
|
2020-03-05 09:36:35 +09:00
|
|
|
<kbd>space</kbd>: toggle line staged / unstaged
|
|
|
|
<kbd>d</kbd>: delete change (git reset)
|
2020-02-29 09:17:19 +11:00
|
|
|
<kbd>tab</kbd>: switch to other panel
|
|
|
|
<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
|
|
|
|
<kbd>v</kbd>: toggle drag select
|
|
|
|
<kbd>V</kbd>: toggle drag select
|
|
|
|
<kbd>a</kbd>: toggle select hunk
|
|
|
|
<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 16:43:13 +09:00
|
|
|
</pre>
|
2019-05-25 16:37:47 +10:00
|
|
|
|
2020-03-10 11:54:55 +09:00
|
|
|
## Menu Panel
|
|
|
|
|
|
|
|
<pre>
|
2020-03-12 14:26:11 +09:00
|
|
|
<kbd>esc</kbd>: close menu
|
|
|
|
<kbd>q</kbd>: close menu
|
2020-03-10 11:54:55 +09:00
|
|
|
<kbd>/</kbd>: start search
|
|
|
|
</pre>
|
|
|
|
|
2020-02-29 09:17:19 +11:00
|
|
|
## Stash Panel
|
2019-05-25 16:37:47 +10:00
|
|
|
|
|
|
|
<pre>
|
2020-02-29 09:17:19 +11:00
|
|
|
<kbd>space</kbd>: toepassen
|
|
|
|
<kbd>g</kbd>: pop
|
|
|
|
<kbd>d</kbd>: drop
|
2020-03-10 11:54:55 +09:00
|
|
|
<kbd>/</kbd>: start search
|
2020-02-29 09:17:19 +11:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Status Panel
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>e</kbd>: verander config file
|
|
|
|
<kbd>o</kbd>: open config file
|
|
|
|
<kbd>u</kbd>: check voor updates
|
|
|
|
<kbd>enter</kbd>: wissel naar een recente repo
|
2019-05-25 16:37:47 +10:00
|
|
|
</pre>
|