2020-02-29 00:17:19 +02:00
|
|
|
# Lazygit Keybindings
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
## Globalne
|
|
|
|
|
|
|
|
<pre>
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>pgup</kbd>: scroll up main panel (fn+up)
|
|
|
|
<kbd>pgdown</kbd>: scroll down main panel (fn+down)
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>m</kbd>: view merge/rebase options
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>ctrl+p</kbd>: view custom patch options
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>P</kbd>: push
|
|
|
|
<kbd>p</kbd>: pull
|
|
|
|
<kbd>R</kbd>: odśwież
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>+</kbd>: next screen mode (normal/half/fullscreen)
|
|
|
|
<kbd>_</kbd>: prev screen mode
|
|
|
|
<kbd>:</kbd>: execute custom command
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Gałęzie Panel (Branches Tab)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>space</kbd>: przełącz
|
|
|
|
<kbd>o</kbd>: utwórz żądanie wyciągnięcia
|
|
|
|
<kbd>c</kbd>: przełącz używając nazwy
|
|
|
|
<kbd>F</kbd>: wymuś przełączenie
|
|
|
|
<kbd>n</kbd>: nowa gałąź
|
|
|
|
<kbd>d</kbd>: usuń gałąź
|
|
|
|
<kbd>r</kbd>: rebase branch
|
|
|
|
<kbd>M</kbd>: scal do obecnej gałęzi
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>i</kbd>: show git-flow options
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>f</kbd>: fast-forward this branch from its upstream
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>g</kbd>: view reset options
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Gałęzie Panel (Remote Branches (in Remotes tab))
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: return to remotes list
|
|
|
|
<kbd>g</kbd>: view reset options
|
|
|
|
<kbd>space</kbd>: przełącz
|
|
|
|
<kbd>M</kbd>: scal do obecnej gałęzi
|
|
|
|
<kbd>d</kbd>: usuń gałąź
|
|
|
|
<kbd>r</kbd>: rebase branch
|
|
|
|
<kbd>u</kbd>: set as upstream of checked-out branch
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Gałęzie 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 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Gałęzie Panel (Tags Tab)
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>space</kbd>: przełącz
|
|
|
|
<kbd>d</kbd>: delete tag
|
|
|
|
<kbd>P</kbd>: push tag
|
|
|
|
<kbd>n</kbd>: create tag
|
|
|
|
<kbd>g</kbd>: view reset options
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Commit files Panel
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: go back
|
|
|
|
<kbd>c</kbd>: checkout file
|
|
|
|
<kbd>d</kbd>: discard this commit's changes to this file
|
|
|
|
<kbd>o</kbd>: otwórz plik
|
|
|
|
<kbd>space</kbd>: toggle file included in patch
|
|
|
|
<kbd>enter</kbd>: enter file to add selected lines to the patch
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Commity Panel
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>/</kbd>: start search
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Commity Panel (Commits Tab)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>s</kbd>: ściśnij w dół
|
|
|
|
<kbd>r</kbd>: przemianuj commit
|
|
|
|
<kbd>R</kbd>: przemianuj commit w edytorze
|
|
|
|
<kbd>g</kbd>: zresetuj do tego commita
|
|
|
|
<kbd>f</kbd>: napraw commit
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>F</kbd>: create fixup commit for this commit
|
|
|
|
<kbd>S</kbd>: squash above commits
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>d</kbd>: delete commit
|
2019-05-25 08:37:47 +02:00
|
|
|
<kbd>ctrl+j</kbd>: move commit down one
|
|
|
|
<kbd>ctrl+k</kbd>: move commit up one
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>e</kbd>: edit commit
|
|
|
|
<kbd>A</kbd>: amend commit with staged changes
|
|
|
|
<kbd>p</kbd>: pick commit (when mid-rebase)
|
|
|
|
<kbd>t</kbd>: revert commit
|
|
|
|
<kbd>c</kbd>: copy commit (cherry-pick)
|
|
|
|
<kbd>C</kbd>: copy commit range (cherry-pick)
|
|
|
|
<kbd>v</kbd>: paste commits (cherry-pick)
|
|
|
|
<kbd>enter</kbd>: view commit's files
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>space</kbd>: checkout commit
|
|
|
|
<kbd>i</kbd>: select commit to diff with another commit
|
|
|
|
<kbd>T</kbd>: tag commit
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Commity Panel (Reflog Tab)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>space</kbd>: checkout commit
|
|
|
|
<kbd>g</kbd>: view reset options
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Pliki Panel
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>c</kbd>: commituj zmiany
|
|
|
|
<kbd>w</kbd>: commit changes without pre-commit hook
|
|
|
|
<kbd>A</kbd>: zmień ostatnie zatwierdzenie
|
|
|
|
<kbd>C</kbd>: commituj zmiany używając edytora z gita
|
|
|
|
<kbd>space</kbd>: przełącz zatwierdzenie
|
|
|
|
<kbd>d</kbd>: view 'discard changes' options
|
|
|
|
<kbd>e</kbd>: edytuj plik
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>o</kbd>: otwórz plik
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>i</kbd>: dodaj do .gitignore
|
|
|
|
<kbd>r</kbd>: odśwież pliki
|
|
|
|
<kbd>s</kbd>: przechowaj pliki
|
|
|
|
<kbd>S</kbd>: view stash options
|
|
|
|
<kbd>a</kbd>: przełącz wszystkie zatwierdzenia
|
|
|
|
<kbd>D</kbd>: view reset options
|
|
|
|
<kbd>enter</kbd>: zatwierdź pojedyncze linie
|
|
|
|
<kbd>f</kbd>: fetch
|
|
|
|
<kbd>g</kbd>: view upstream reset options
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Main Panel (Merging)
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: wróć do panelu plików
|
|
|
|
<kbd>space</kbd>: pick hunk
|
|
|
|
<kbd>b</kbd>: pick both hunks
|
|
|
|
<kbd>◄</kbd>: select previous conflict
|
|
|
|
<kbd>►</kbd>: select next conflict
|
|
|
|
<kbd>▲</kbd>: select top hunk
|
|
|
|
<kbd>▼</kbd>: select bottom hunk
|
|
|
|
<kbd>z</kbd>: undo
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Main Panel (Normal)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd> ̄</kbd>: scroll down (fn+up)
|
|
|
|
<kbd>¦</kbd>: scroll up (fn+down)
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Main Panel (Patch Building)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>esc</kbd>: exit line-by-line mode
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>▲</kbd>: select previous line
|
|
|
|
<kbd>▼</kbd>: select next line
|
|
|
|
<kbd>◄</kbd>: select previous hunk
|
|
|
|
<kbd>►</kbd>: select next hunk
|
2020-03-05 02:36:35 +02:00
|
|
|
<kbd>space</kbd>: add/remove line(s) to patch
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>v</kbd>: toggle drag select
|
|
|
|
<kbd>V</kbd>: toggle drag select
|
|
|
|
<kbd>a</kbd>: toggle select hunk
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Main Panel (Zatwierdzanie)
|
2019-03-16 09:43:13 +02:00
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: wróć do panelu plików
|
2020-03-05 02:36:35 +02:00
|
|
|
<kbd>space</kbd>: toggle line staged / unstaged
|
|
|
|
<kbd>d</kbd>: delete change (git reset)
|
2020-02-29 00:17:19 +02:00
|
|
|
<kbd>tab</kbd>: switch to other panel
|
|
|
|
<kbd>▲</kbd>: select previous line
|
|
|
|
<kbd>▼</kbd>: select next line
|
|
|
|
<kbd>◄</kbd>: select previous hunk
|
|
|
|
<kbd>►</kbd>: select next hunk
|
|
|
|
<kbd>e</kbd>: edytuj plik
|
|
|
|
<kbd>o</kbd>: otwórz plik
|
|
|
|
<kbd>v</kbd>: toggle drag select
|
|
|
|
<kbd>V</kbd>: toggle drag select
|
|
|
|
<kbd>a</kbd>: toggle select hunk
|
|
|
|
<kbd>c</kbd>: commituj zmiany
|
|
|
|
<kbd>w</kbd>: commit changes without pre-commit hook
|
|
|
|
<kbd>C</kbd>: commituj zmiany używając edytora z gita
|
|
|
|
</pre>
|
|
|
|
|
2020-03-10 04:54:55 +02:00
|
|
|
## Menu Panel
|
|
|
|
|
|
|
|
<pre>
|
2020-03-12 07:26:11 +02:00
|
|
|
<kbd>esc</kbd>: close menu
|
|
|
|
<kbd>q</kbd>: close menu
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
|
|
|
</pre>
|
|
|
|
|
2020-02-29 00:17:19 +02:00
|
|
|
## Schowek Panel
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>space</kbd>: zastosuj
|
|
|
|
<kbd>g</kbd>: wyciągnij
|
|
|
|
<kbd>d</kbd>: porzuć
|
2020-03-10 04:54:55 +02:00
|
|
|
<kbd>/</kbd>: start search
|
2020-02-29 00:17:19 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Status Panel
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>e</kbd>: edytuj plik konfiguracyjny
|
|
|
|
<kbd>o</kbd>: otwórz plik konfiguracyjny
|
|
|
|
<kbd>u</kbd>: sprawdź aktualizacje
|
|
|
|
<kbd>enter</kbd>: switch to a recent repo
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|