2022-01-19 12:36:42 +02:00
_This file is auto-generated. To update, make the changes in the pkg/i18n directory and then run `go run scripts/cheatsheet/main.go generate` from the project root._
2022-01-04 00:20:38 +02:00
2020-02-29 00:17:19 +02:00
# Lazygit Keybindings
2019-03-16 09:43:13 +02:00
2023-05-21 03:13:02 +02:00
_Legend: `<c-b>` means ctrl+b, `<a-b>` means alt+b, `B` means shift+b_
2019-03-16 09:43:13 +02:00
## Globalne
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < c-r> < / kbd > : Switch to a recent repo
< kbd > < pgup> < / kbd > : Scroll up main panel (fn+up/shift+k)
< kbd > < pgdown> < / kbd > : Scroll down main panel (fn+down/shift+j)
< kbd > @< / kbd > : Open command log menu
2023-04-15 06:40:28 +02:00
< kbd > }< / kbd > : Increase the size of the context shown around changes in the diff view
< kbd > {< / kbd > : Decrease the size of the context shown around changes in the diff view
2023-05-25 13:11:51 +02:00
< kbd > :< / kbd > : Wykonaj własną komendę
< kbd > < c-p> < / kbd > : View custom patch options
< kbd > m< / kbd > : Widok scalenia/opcje zmiany bazy
< kbd > R< / kbd > : Odśwież
< kbd > +< / kbd > : Next screen mode (normal/half/fullscreen)
< kbd > _< / kbd > : Prev screen mode
< kbd > ?< / kbd > : Open menu
< kbd > < c-s> < / kbd > : View filter-by-path options
< kbd > W< / kbd > : Open diff menu
< kbd > < c-e> < / kbd > : Open diff menu
2023-05-21 03:13:02 +02:00
< kbd > < c-w> < / kbd > : Toggle whether or not whitespace changes are shown in the diff view
2023-05-25 13:11:51 +02:00
< kbd > z< / kbd > : Undo
< kbd > < c-z> < / kbd > : Redo
< kbd > P< / kbd > : Push
< kbd > p< / kbd > : Pull
2019-03-16 09:43:13 +02:00
< / pre >
2023-05-25 13:11:51 +02:00
## List panel navigation
2020-03-23 14:22:10 +02:00
< pre >
2023-05-25 13:11:51 +02:00
< kbd > ,< / kbd > : Previous page
< kbd > .< / kbd > : Next page
< kbd > < < / kbd > : Scroll to top
< kbd > > < / kbd > : Scroll to bottom
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Search the current view by text
2023-05-25 13:11:51 +02:00
< kbd > H< / kbd > : Scroll left
< kbd > L< / kbd > : Scroll right
< kbd > ]< / kbd > : Next tab
< kbd > [< / kbd > : Previous tab
2020-03-23 14:22:10 +02:00
< / pre >
2023-05-25 13:11:51 +02:00
## Commit summary
2023-04-15 06:40:28 +02:00
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < enter> < / kbd > : Potwierdź
< kbd > < esc> < / kbd > : Zamknij
2023-04-15 06:40:28 +02:00
< / pre >
2022-03-26 05:44:30 +02:00
## Commity
2020-10-01 23:32:48 +02:00
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < c-o> < / kbd > : Copy commit SHA to clipboard
< kbd > < c-r> < / kbd > : Reset cherry-picked (copied) commits selection
< kbd > b< / kbd > : View bisect options
< kbd > s< / kbd > : Ściśnij
< kbd > f< / kbd > : Napraw commit
< kbd > r< / kbd > : Zmień nazwę commita
< kbd > R< / kbd > : Zmień nazwę commita w edytorze
< kbd > d< / kbd > : Usuń commit
< kbd > e< / kbd > : Edytuj commit
< kbd > p< / kbd > : Wybierz commit (podczas zmiany bazy)
< kbd > F< / kbd > : Utwórz commit naprawczy dla tego commita
< kbd > S< / kbd > : Spłaszcz wszystkie commity naprawcze powyżej zaznaczonych commitów (autosquash)
< kbd > < c-j> < / kbd > : Przenieś commit 1 w dół
< kbd > < c-k> < / kbd > : Przenieś commit 1 w górę
< kbd > v< / kbd > : Wklej commity (przebieranie)
< kbd > A< / kbd > : Popraw commit zmianami z poczekalni
< kbd > a< / kbd > : Set/Reset commit author
< kbd > t< / kbd > : Odwróć commit
< kbd > T< / kbd > : Tag commit
< kbd > < c-l> < / kbd > : Open log menu
2023-07-17 12:01:16 +02:00
< kbd > w< / kbd > : View worktree options
2023-05-25 13:11:51 +02:00
< kbd > < space> < / kbd > : Checkout commit
< kbd > y< / kbd > : Copy commit attribute
< kbd > o< / kbd > : Open commit in browser
< kbd > n< / kbd > : Create new branch off of commit
< kbd > g< / kbd > : Wyświetl opcje resetu
< kbd > c< / kbd > : Kopiuj commit (przebieranie)
< kbd > C< / kbd > : Kopiuj zakres commitów (przebieranie)
< kbd > < enter> < / kbd > : Przeglądaj pliki commita
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Search the current view by text
2020-02-29 00:17:19 +02:00
< / pre >
2023-05-25 13:11:51 +02:00
## Confirmation panel
2023-04-15 06:40:28 +02:00
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < enter> < / kbd > : Potwierdź
< kbd > < esc> < / kbd > : Zamknij
2023-04-15 06:40:28 +02:00
< / pre >
2023-05-25 13:11:51 +02:00
## Local branches
2022-05-10 13:10:59 +02:00
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < c-o> < / kbd > : Copy branch name to clipboard
< kbd > i< / kbd > : Show git-flow options
< kbd > < space> < / kbd > : Przełącz
< kbd > n< / kbd > : Nowa gałąź
< kbd > o< / kbd > : Utwórz żądanie pobrania
< kbd > O< / kbd > : Utwórz opcje żądania ściągnięcia
< kbd > < c-y> < / kbd > : Skopiuj adres URL żądania pobrania do schowka
< kbd > c< / kbd > : Przełącz używając nazwy
< kbd > F< / kbd > : Wymuś przełączenie
< kbd > d< / kbd > : Usuń gałąź
< kbd > r< / kbd > : Zmiana bazy gałęzi
< kbd > M< / kbd > : Scal do obecnej gałęzi
< kbd > f< / kbd > : Fast-forward this branch from its upstream
< kbd > T< / kbd > : Create tag
< kbd > g< / kbd > : Wyświetl opcje resetu
< kbd > R< / kbd > : Rename branch
< kbd > u< / kbd > : Set/Unset upstream
2023-07-17 12:01:16 +02:00
< kbd > w< / kbd > : View worktree options
2023-05-25 13:11:51 +02:00
< kbd > < enter> < / kbd > : View commits
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Filter the current view by text
2022-05-10 13:10:59 +02:00
< / pre >
2023-05-25 13:11:51 +02:00
## Main panel (patch building)
2020-02-29 00:17:19 +02:00
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < left> < / kbd > : Poprzedni kawałek
< kbd > < right> < / kbd > : Następny kawałek
< kbd > v< / kbd > : Toggle drag select
< kbd > V< / kbd > : Toggle drag select
< kbd > a< / kbd > : Toggle select hunk
< kbd > < c-o> < / kbd > : Copy the selected text to the clipboard
< kbd > o< / kbd > : Otwórz plik
< kbd > e< / kbd > : Edytuj plik
< kbd > < space> < / kbd > : Add/Remove line(s) to patch
< kbd > < esc> < / kbd > : Wyście z trybu "linia po linii"
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Search the current view by text
2022-02-26 07:29:18 +02:00
< / pre >
2023-04-15 06:40:28 +02:00
## Menu
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < enter> < / kbd > : Wykonaj
< kbd > < esc> < / kbd > : Zamknij
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Filter the current view by text
2023-04-15 06:40:28 +02:00
< / pre >
2022-03-26 05:44:30 +02:00
## Pliki
2019-03-16 09:43:13 +02:00
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < c-o> < / kbd > : Copy the file name to the clipboard
< kbd > d< / kbd > : Pokaż opcje porzucania zmian
< kbd > < space> < / kbd > : Przełącz stan poczekalni
2023-07-02 07:11:49 +02:00
< kbd > < c-b> < / kbd > : Filter files by status
2022-01-04 00:20:38 +02:00
< kbd > c< / kbd > : Zatwierdź zmiany
2023-05-25 13:11:51 +02:00
< kbd > w< / kbd > : Zatwierdź zmiany bez skryptu pre-commit
2022-01-04 00:20:38 +02:00
< kbd > A< / kbd > : Zmień ostatni commit
< kbd > C< / kbd > : Zatwierdź zmiany używając edytora
2023-05-25 13:11:51 +02:00
< kbd > e< / kbd > : Edytuj plik
< kbd > o< / kbd > : Otwórz plik
< kbd > i< / kbd > : Ignore or exclude file
< kbd > r< / kbd > : Odśwież pliki
< kbd > s< / kbd > : Przechowaj zmiany
< kbd > S< / kbd > : Wyświetl opcje schowka
< kbd > a< / kbd > : Przełącz stan poczekalni wszystkich
< kbd > < enter> < / kbd > : Zatwierdź pojedyncze linie
< kbd > g< / kbd > : View upstream reset options
< kbd > D< / kbd > : Wyświetl opcje resetu
< kbd > `< / kbd > : Toggle file tree view
< kbd > M< / kbd > : Open external merge tool (git mergetool)
< kbd > f< / kbd > : Pobierz
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Search the current view by text
2020-10-01 23:32:48 +02:00
< / pre >
2022-03-26 05:44:30 +02:00
## Pliki commita
2019-03-16 09:43:13 +02:00
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < c-o> < / kbd > : Copy the committed file name to the clipboard
< kbd > c< / kbd > : Plik wybierania
< kbd > d< / kbd > : Porzuć zmiany commita dla tego pliku
< kbd > o< / kbd > : Otwórz plik
< kbd > e< / kbd > : Edytuj plik
< kbd > < space> < / kbd > : Toggle file included in patch
< kbd > a< / kbd > : Toggle all files included in patch
< kbd > < enter> < / kbd > : Enter file to add selected lines to the patch (or toggle directory collapsed)
< kbd > `< / kbd > : Toggle file tree view
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Search the current view by text
2020-03-10 04:54:55 +02:00
< / pre >
2022-03-26 05:44:30 +02:00
## Poczekalnia
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < left> < / kbd > : Poprzedni kawałek
< kbd > < right> < / kbd > : Następny kawałek
< kbd > v< / kbd > : Toggle drag select
< kbd > V< / kbd > : Toggle drag select
< kbd > a< / kbd > : Toggle select hunk
< kbd > < c-o> < / kbd > : Copy the selected text to the clipboard
< kbd > o< / kbd > : Otwórz plik
< kbd > e< / kbd > : Edytuj plik
< kbd > < esc> < / kbd > : Wróć do panelu plików
< kbd > < tab> < / kbd > : Switch to other panel (staged/unstaged changes)
< kbd > < space> < / kbd > : Toggle line staged / unstaged
2023-06-05 09:30:55 +02:00
< kbd > d< / kbd > : Discard change (git reset)
2023-05-25 13:11:51 +02:00
< kbd > E< / kbd > : Edit hunk
2022-11-27 02:13:45 +02:00
< kbd > c< / kbd > : Zatwierdź zmiany
2023-05-25 13:11:51 +02:00
< kbd > w< / kbd > : Zatwierdź zmiany bez skryptu pre-commit
2022-11-27 02:13:45 +02:00
< kbd > C< / kbd > : Zatwierdź zmiany używając edytora
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Search the current view by text
2022-03-26 05:44:30 +02:00
< / pre >
## Reflog
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < c-o> < / kbd > : Copy commit SHA to clipboard
2023-07-17 12:01:16 +02:00
< kbd > w< / kbd > : View worktree options
2023-05-25 13:11:51 +02:00
< kbd > < space> < / kbd > : Checkout commit
< kbd > y< / kbd > : Copy commit attribute
< kbd > o< / kbd > : Open commit in browser
< kbd > n< / kbd > : Create new branch off of commit
< kbd > g< / kbd > : Wyświetl opcje resetu
< kbd > c< / kbd > : Kopiuj commit (przebieranie)
< kbd > C< / kbd > : Kopiuj zakres commitów (przebieranie)
< kbd > < c-r> < / kbd > : Reset cherry-picked (copied) commits selection
< kbd > < enter> < / kbd > : View commits
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Filter the current view by text
2022-03-26 05:44:30 +02:00
< / pre >
2023-05-25 13:11:51 +02:00
## Remote branches
2022-03-26 05:44:30 +02:00
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < c-o> < / kbd > : Copy branch name to clipboard
< kbd > < space> < / kbd > : Przełącz
< kbd > n< / kbd > : Nowa gałąź
< kbd > M< / kbd > : Scal do obecnej gałęzi
< kbd > r< / kbd > : Zmiana bazy gałęzi
< kbd > d< / kbd > : Usuń gałąź
< kbd > u< / kbd > : Set as upstream of checked-out branch
< kbd > g< / kbd > : Wyświetl opcje resetu
2023-07-17 12:01:16 +02:00
< kbd > w< / kbd > : View worktree options
2023-05-25 13:11:51 +02:00
< kbd > < enter> < / kbd > : View commits
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Filter the current view by text
2022-03-26 05:44:30 +02:00
< / pre >
## Remotes
< pre >
2023-05-25 13:11:51 +02:00
< kbd > f< / kbd > : Fetch remote
< kbd > n< / kbd > : Add new remote
< kbd > d< / kbd > : Remove remote
< kbd > e< / kbd > : Edit remote
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Filter the current view by text
2022-03-26 05:44:30 +02:00
< / pre >
## Scalanie
< pre >
2023-05-25 13:11:51 +02:00
< kbd > e< / kbd > : Edytuj plik
< kbd > o< / kbd > : Otwórz plik
< kbd > < left> < / kbd > : Poprzedni konflikt
< kbd > < right> < / kbd > : Następny konflikt
< kbd > < up> < / kbd > : Wybierz poprzedni kawałek
< kbd > < down> < / kbd > : Wybierz następny kawałek
< kbd > z< / kbd > : Cofnij
< kbd > M< / kbd > : Open external merge tool (git mergetool)
< kbd > < space> < / kbd > : Wybierz kawałek
< kbd > b< / kbd > : Wybierz oba kawałki
< kbd > < esc> < / kbd > : Wróć do panelu plików
2022-03-26 05:44:30 +02:00
< / pre >
## Schowek
2020-02-29 00:17:19 +02:00
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < space> < / kbd > : Zastosuj
< kbd > g< / kbd > : Wyciągnij
< kbd > d< / kbd > : Porzuć
< kbd > n< / kbd > : Nowa gałąź
< kbd > r< / kbd > : Rename stash
2023-07-17 12:01:16 +02:00
< kbd > w< / kbd > : View worktree options
2023-05-25 13:11:51 +02:00
< kbd > < enter> < / kbd > : Przeglądaj pliki commita
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Filter the current view by text
2020-02-29 00:17:19 +02:00
< / pre >
2022-03-26 05:44:30 +02:00
## Status
2020-02-29 00:17:19 +02:00
< pre >
2023-05-25 13:11:51 +02:00
< kbd > o< / kbd > : Otwórz konfigurację
< kbd > e< / kbd > : Edytuj konfigurację
< kbd > u< / kbd > : Sprawdź aktualizacje
< kbd > < enter> < / kbd > : Switch to a recent repo
< kbd > a< / kbd > : Pokaż wszystkie logi gałęzi
2019-03-16 09:43:13 +02:00
< / pre >
2022-03-24 13:07:30 +02:00
2022-03-26 05:44:30 +02:00
## Sub-commits
2022-03-24 13:07:30 +02:00
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < c-o> < / kbd > : Copy commit SHA to clipboard
2023-07-17 12:01:16 +02:00
< kbd > w< / kbd > : View worktree options
2023-05-25 13:11:51 +02:00
< kbd > < space> < / kbd > : Checkout commit
< kbd > y< / kbd > : Copy commit attribute
< kbd > o< / kbd > : Open commit in browser
< kbd > n< / kbd > : Create new branch off of commit
< kbd > g< / kbd > : Wyświetl opcje resetu
< kbd > c< / kbd > : Kopiuj commit (przebieranie)
< kbd > C< / kbd > : Kopiuj zakres commitów (przebieranie)
< kbd > < c-r> < / kbd > : Reset cherry-picked (copied) commits selection
< kbd > < enter> < / kbd > : Przeglądaj pliki commita
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Search the current view by text
2022-03-24 13:07:30 +02:00
< / pre >
2022-03-26 05:44:30 +02:00
## Submodules
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < c-o> < / kbd > : Copy submodule name to clipboard
< kbd > < enter> < / kbd > : Enter submodule
2023-07-27 11:01:40 +02:00
< kbd > < space> < / kbd > : Enter submodule
2023-05-25 13:11:51 +02:00
< kbd > d< / kbd > : Remove submodule
< kbd > u< / kbd > : Update submodule
< kbd > n< / kbd > : Add new submodule
< kbd > e< / kbd > : Update submodule URL
< kbd > i< / kbd > : Initialize submodule
< kbd > b< / kbd > : View bulk submodule options
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Filter the current view by text
2022-03-26 05:44:30 +02:00
< / pre >
## Tags
< pre >
2023-05-25 13:11:51 +02:00
< kbd > < space> < / kbd > : Przełącz
< kbd > d< / kbd > : Delete tag
< kbd > P< / kbd > : Push tag
< kbd > n< / kbd > : Create tag
< kbd > g< / kbd > : Wyświetl opcje resetu
2023-07-17 12:01:16 +02:00
< kbd > w< / kbd > : View worktree options
2023-05-25 13:11:51 +02:00
< kbd > < enter> < / kbd > : View commits
2023-07-02 07:11:49 +02:00
< kbd > /< / kbd > : Filter the current view by text
2022-03-26 05:44:30 +02:00
< / pre >
2023-07-17 12:01:16 +02:00
## Worktrees
< pre >
< kbd > n< / kbd > : Create worktree
< kbd > < space> < / kbd > : Switch to worktree
2023-07-27 11:01:40 +02:00
< kbd > < enter> < / kbd > : Switch to worktree
2023-07-17 12:01:16 +02:00
< kbd > o< / kbd > : Open in editor
< kbd > d< / kbd > : Remove worktree
< kbd > /< / kbd > : Filter the current view by text
< / pre >
2022-03-26 05:44:30 +02:00
## Zwykłe
< pre >
2023-05-25 13:11:51 +02:00
< kbd > mouse wheel down< / kbd > : Przewiń w dół (fn+up)
< kbd > mouse wheel up< / kbd > : Przewiń w górę (fn+down)
2022-03-26 05:44:30 +02:00
< / pre >