2019-03-16 09:43:13 +02:00
|
|
|
# Lazygit menu
|
|
|
|
|
|
|
|
## Globalne
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>m</kbd>: view merge/rebase options
|
|
|
|
<kbd>P</kbd>: push
|
|
|
|
<kbd>p</kbd>: pull
|
|
|
|
<kbd>R</kbd>: odśwież
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Status
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>e</kbd>: edytuj plik konfiguracyjny
|
|
|
|
<kbd>o</kbd>: otwórz plik konfiguracyjny
|
|
|
|
<kbd>u</kbd>: sprawdź aktualizacje
|
|
|
|
<kbd>s</kbd>: switch to a recent repo
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Pliki
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>c</kbd>: commituj zmiany
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>w</kbd>: commit changes without pre-commit hook
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>A</kbd>: zmień ostatnie zatwierdzenie
|
|
|
|
<kbd>C</kbd>: commituj zmiany używając edytora z gita
|
|
|
|
<kbd>space</kbd>: przełącz zatwierdzenie
|
2019-03-23 15:46:08 +02:00
|
|
|
<kbd>d</kbd>: view 'discard changes' options
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>e</kbd>: edytuj plik
|
|
|
|
<kbd>o</kbd>: otwórz plik
|
|
|
|
<kbd>i</kbd>: dodaj do .gitignore
|
|
|
|
<kbd>r</kbd>: odśwież pliki
|
|
|
|
<kbd>S</kbd>: przechowaj pliki
|
|
|
|
<kbd>a</kbd>: przełącz wszystkie zatwierdzenia
|
|
|
|
<kbd>t</kbd>: dodaj łatkę
|
2019-03-23 15:46:08 +02:00
|
|
|
<kbd>D</kbd>: view reset options
|
2019-03-16 09:43:13 +02:00
|
|
|
<kbd>enter</kbd>: zatwierdź pojedyncze linie
|
|
|
|
<kbd>f</kbd>: fetch
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>X</kbd>: execute custom command
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Gałęzie
|
|
|
|
|
|
|
|
<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
|
|
|
|
<kbd>f</kbd>: fast-forward this branch from its upstream
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Commity
|
|
|
|
|
|
|
|
<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
|
2019-05-03 07:03:25 +02:00
|
|
|
<kbd>space</kbd>: select commit to diff with another commit
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Schowek
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>space</kbd>: zastosuj
|
|
|
|
<kbd>g</kbd>: wyciągnij
|
|
|
|
<kbd>d</kbd>: porzuć
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Commit files
|
|
|
|
|
|
|
|
<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
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Main (Normal)
|
|
|
|
|
|
|
|
<pre>
|
2019-05-07 08:55:30 +02:00
|
|
|
<kbd>PgDn</kbd>: scroll down (fn+up)
|
|
|
|
<kbd>PgUp</kbd>: scroll up (fn+down)
|
2019-03-16 09:43:13 +02:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Main (Zatwierdzanie)
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
<kbd>esc</kbd>: wróć do panelu plików
|
|
|
|
<kbd>▲</kbd>: select previous line
|
|
|
|
<kbd>▼</kbd>: select next line
|
|
|
|
<kbd>◄</kbd>: select previous hunk
|
|
|
|
<kbd>►</kbd>: select next hunk
|
|
|
|
<kbd>space</kbd>: zatwierdź linię
|
|
|
|
<kbd>a</kbd>: zatwierdź kawałek
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
## Main (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
|
|
|
|
</pre>
|