Back to Lazygit

Lazygit Связки клавиш

docs-master/keybindings/Keybindings_ru.md

0.61.133.1 KB
Original Source

This file is auto-generated. To update, make the changes in the pkg/i18n directory and then run go generate ./... from the project root.

Lazygit Связки клавиш

Связки клавиш

Глобальные сочетания клавиш

KeyActionInfo
<c-r>Переключиться на последний репозиторий
<pgup> (fn+up/shift+k)Прокрутить вверх главную панель
<pgdown> (fn+down/shift+j)Прокрутить вниз главную панель
@Открыть меню журнала командView options for the command log e.g. show/hide the command log and focus the command log.
PОтправить измененияPush the current branch to its upstream branch. If no upstream is configured, you will be prompted to configure an upstream branch.
pПолучить и слить измененияPull changes from the remote for the current branch. If no upstream is configured, you will be prompted to configure an upstream branch.
)Increase rename similarity thresholdIncrease the similarity threshold for a deletion and addition pair to be treated as a rename.

The default can be changed in the config file with the key 'git.renameSimilarityThreshold'. | | ( | Decrease rename similarity threshold | Decrease the similarity threshold for a deletion and addition pair to be treated as a rename.

The default can be changed in the config file with the key 'git.renameSimilarityThreshold'. | | } | Увеличить размер контекста, отображаемого вокруг изменений в просмотрщике сравнении | Increase the amount of the context shown around changes in the diff view.

The default can be changed in the config file with the key 'git.diffContextSize'. | | { | Уменьшите размер контекста, отображаемого вокруг изменений в просмотрщике сравнении | Decrease the amount of the context shown around changes in the diff view.

The default can be changed in the config file with the key 'git.diffContextSize'. | | : | Execute shell command | Bring up a prompt where you can enter a shell command to execute. | | <c-p> | Просмотреть пользовательские параметры патча | | | m | Просмотреть параметры слияния/перебазирования | View options to abort/continue/skip the current merge/rebase. | | R | Обновить | Refresh the git state (i.e. run git status, git branch, etc in background to update the contents of panels). This does not run git fetch. | | + | Следующий режим экрана (нормальный/полуэкранный/полноэкранный) | | | _ | Предыдущий режим экрана | | | \| | Cycle pagers | Choose the next pager in the list of configured pagers | | <esc> | Отменить | | | ? | Открыть меню | | | <c-s> | Просмотреть параметры фильтрации по пути | View options for filtering the commit log, so that only commits matching the filter are shown. | | W | Открыть меню сравнении | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | | <c-e> | Открыть меню сравнении | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | | q | Выйти | | | <c-z> | Suspend the application | | | <c-w> | Переключить отображение изменении пробелов в просмотрщике сравнении | Toggle whether or not whitespace changes are shown in the diff view.

The default can be changed in the config file with the key 'git.ignoreWhitespaceInDiffView'. | | z | Отменить (через reflog) (экспериментальный) | Журнал ссылок (reflog) будет использоваться для определения того, какую команду git запустить, чтобы отменить последнюю команду git. Сюда не входят изменения в рабочем дереве; учитываются только коммиты. | | Z | Повторить (через reflog) (экспериментальный) | Журнал ссылок (reflog) будет использоваться для определения того, какую команду git нужно запустить, чтобы повторить последнюю команду git. Сюда не входят изменения в рабочем дереве; учитываются только коммиты. |

Навигация по панели списка

KeyActionInfo
,Предыдущая страница
.Следующая страница
< (<home>)Пролистать наверх
> (<end>)Прокрутить вниз
vПереключить выборку перетаскивания
<s-down>Range select down
<s-up>Range select up
/Найти
HПрокрути��ь влево
LПрокрутить вправо
]Следующая вкладка
[Предыдущая вкладка

Input prompt

KeyActionInfo
<enter>Подтвердить
<esc>Закрыть/отменить

Worktrees

KeyActionInfo
nNew worktree
<space>SwitchSwitch to the selected worktree.
oOpen in editor
dRemoveRemove the selected worktree. This will both delete the worktree's directory, as well as metadata about the worktree in the .git directory.
/Filter the current view by text

Вторичный

KeyActionInfo
<tab>Переключиться на другую панель (проиндексированные/непроиндексированные изменения)Switch to other view (staged/unstaged changes).
<esc>Exit back to side panel
/Найти

Главная панель (Индексирование)

KeyActionInfo
<left>Выбрать предыдущую часть
<right>Выбрать следующую часть
vПереключить выборку перетаскивания
aToggle hunk selectionToggle line-by-line vs. hunk selection mode.
<c-o>Скопировать выделенный текст в буфер обмена
<space>Переключить индексПереключить строку в проиндексированные / непроиндексированные
dОтменить изменение (git reset)When unstaged change is selected, discard the change using git reset. When staged change is selected, unstage the change.
oОткрыть файлOpen file in default application.
eРедактировать файлOpen file in external editor.
<esc>Вернуться к панели файлов
<tab>Переключиться на другую панель (проиндексированные/непроиндексированные изменения)Switch to other view (staged/unstaged changes).
EИзменить эту частьEdit selected hunk in external editor.
cСохранить измененияCommit staged changes.
wЗакоммитить изменения без предварительного хука коммита
CСохранить изменения с помощью редактора git
<c-f>Find base commit for fixupFind the commit that your current changes are building upon, for the sake of amending/fixing up the commit. This spares you from having to look through your branch's commits one-by-one to see which commit should be amended/fixed up. See docs: https://github.com/jesseduffield/lazygit/tree/master/docs/Fixup_Commits.md
/Найти

Главная панель (Обычный)

KeyActionInfo
mouse wheel down (fn+up)Прокрутить вниз
mouse wheel up (fn+down)Прокрутить вверх
<tab>Переключиться на другую панель (проиндексированные/непроиндексированные изменения)Switch to other view (staged/unstaged changes).
<esc>Exit back to side panel
/Найти

Главная панель (Слияние)

KeyActionInfo
<space>Выбрать эту часть
bВыбрать все части
<up>Выбрать предыдущую часть
<down>Выбрать следующую часть
<left>Выбрать предыдущий конфликт
<right>Выбрать следующий конфликт
zОтменитьUndo last merge conflict resolution.
eРедактировать файлOpen file in external editor.
oОткрыть файлOpen file in default application.
MView merge conflict optionsView options for resolving merge conflicts.
<esc>Вернуться к панели файлов

Главная панель (сборка патчей)

KeyActionInfo
<left>Выбрать предыдущую часть
<right>Выбрать следующую часть
vПереключить выборку перетаскивания
aToggle hunk selectionToggle line-by-line vs. hunk selection mode.
<c-o>Скопировать выделенный текст в буфер обмена
oОткрыть файлOpen file in default application.
eРедактировать файлOpen file in external editor.
<space>Добавить/удалить строку(и) для патча
dRemove lines from commitRemove the selected lines from this commit. This runs an interactive rebase in the background, so you may get a merge conflict if a later commit also changes these lines.
<esc>Выйти из сборщика пользовательских патчей
/Найти

Журнал ссылок (Reflog)

KeyActionInfo
<c-o>Copy abbreviated commit hash to clipboard
<space>ПереключитьCheckout the selected commit as a detached HEAD.
yСкопировать атрибут коммитаCopy commit attribute to clipboard (e.g. hash, URL, diff, message, author).
oОткрыть коммит в браузере
nСоздать новую ветку с этого коммита
NMove commits to new branchCreate a new branch and move the unpushed commits of the current branch to it. Useful if you meant to start new work and forgot to create a new branch first.

Note that this disregards the selection, the new branch is always created either from the main branch or stacked on top of the current branch (you get to choose which). | | g | Просмотреть параметры сброса | View reset options (soft/mixed/hard) for resetting onto selected item. | | C | Скопировать отобранные коммит (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press V to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press <esc> to cancel the selection. | | <c-r> | Сбросить отобранную (скопированную | cherry-picked) выборку коммитов | | | <c-t> | Open external diff tool (git difftool) | | | * | Select commits of current branch | | | 0 | Focus main view | | | <enter> | Просмотреть коммиты | | | w | View worktree options | | | / | Filter the current view by text | |

Коммиты

KeyActionInfo
<c-o>Copy abbreviated commit hash to clipboard
<c-r>Сбросить отобранную (скопированную | cherry-picked) выборку коммитов
bПросмотреть параметры бинарного поиска
sОбъединить коммиты (Squash)Squash the selected commit into the commit below it. The selected commit's message will be appended to the commit below it.
fОбъединить несколько коммитов в один отбросив сообщение коммита (Fixup)Meld the selected commit into the commit below it. Similar to squash, but the selected commit's message will be discarded.
cSet fixup messageSet the message option for the fixup commit. The -C option means to use this commit's message instead of the target commit's message.
rПерефразировать коммитReword the selected commit's message.
RПереписать коммит с помощью редактора
dУдалить коммитDrop the selected commit. This will remove the commit from the branch via a rebase. If the commit makes changes that later commits depend on, you may need to resolve merge conflicts.
eEdit (start interactive rebase)Изменить коммит
iStart interactive rebaseStart an interactive rebase for the commits on your branch. This will include all commits from the HEAD commit down to the first merge commit or main branch commit.
If you would instead like to start an interactive rebase from the selected commit, press e.
pPickВыбрать коммит (в середине перебазирования)
FСоздать fixup коммитСоздать fixup коммит для этого коммита
SApply fixup commitsОбъединить все 'fixup!' коммиты выше в выбранный коммит (автосохранение)
<c-j>Переместить коммит вниз на один
<c-k>Переместить коммит вверх на один
VВставить отобранные коммиты (cherry-pick)
BMark as base commit for rebaseSelect a base commit for the next rebase. When you rebase onto a branch, only commits above the base commit will be brought across. This uses the git rebase --onto command.
AAmendПравить последний коммит с проиндексированными изменениями
aУстановить/убрать автора коммитаSet/Reset commit author or set co-author.
tRevertCreate a revert commit for the selected commit, which applies the selected commit's changes in reverse.
TПометить коммит тегомCreate a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description.
<c-l>Открыть меню журналаView options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph.
GOpen pull request in browser
<space>ПереключитьCheckout the selected commit as a detached HEAD.
yСкопировать атрибут коммитаCopy commit attribute to clipboard (e.g. hash, URL, diff, message, author).
oОткрыть коммит в браузере
nСоздать новую ветку с этого коммита
NMove commits to new branchCreate a new branch and move the unpushed commits of the current branch to it. Useful if you meant to start new work and forgot to create a new branch first.

Note that this disregards the selection, the new branch is always created either from the main branch or stacked on top of the current branch (you get to choose which). | | g | Просмотреть параметры сброса | View reset options (soft/mixed/hard) for resetting onto selected item. | | C | Скопировать отобранные коммит (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press V to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press <esc> to cancel the selection. | | <c-t> | Open external diff tool (git difftool) | | | * | Select commits of current branch | | | 0 | Focus main view | | | <enter> | Просмотреть файлы выбранного элемента | | | w | View worktree options | | | / | Найти | |

Локальные Ветки

KeyActionInfo
<c-o>Скопировать название ветки в буфер обмена
iПоказать параметры git-flow
<space>ПереключитьCheckout selected item.
nНовая ветка
NMove commits to new branchCreate a new branch and move the unpushed commits of the current branch to it. Useful if you meant to start new work and forgot to create a new branch first.

Note that this disregards the selection, the new branch is always created either from the main branch or stacked on top of the current branch (you get to choose which). | | o | Создать запрос на принятие изменений | | | O | Создать параметры запроса принятие изменений | | | G | Open pull request in browser | | | <c-y> | Скопировать URL запроса на принятие изменений в буфер обмена | | | c | Переключить по названию | Checkout by name. In the input box you can enter '-' to switch to the previous branch. | | - | Checkout previous branch | | | F | Принудительное переключение | Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch. | | d | Delete | View delete options for local/remote branch. | | r | Перебазировать переключённую ветку на эту ветку | Rebase the checked-out branch onto the selected branch. | | M | Слияние с текущей переключённой веткой | View options for merging the selected item into the current branch (regular merge, squash merge) | | f | Перемотать эту ветку вперёд из её upstream-ветки | Fast-forward selected branch from its upstream. | | T | Создать тег | | | s | Порядок сортировки | | | g | Просмотреть параметры сброса | | | R | Переименовать ветку | | | u | View upstream options | View options relating to the branch's upstream e.g. setting/unsetting the upstream and resetting to the upstream. | | <c-t> | Open external diff tool (git difftool) | | | 0 | Focus main view | | | <enter> | Просмотреть коммиты | | | w | View worktree options | | | / | Filter the current view by text | |

Меню

KeyActionInfo
<enter>Выполнить
<esc>Закрыть/отменить
/Filter the current view by text

Панель Подтверждения

KeyActionInfo
<enter>Подтвердить
<esc>Закрыть/отменить
<c-o>Copy to clipboard

Подкоммиты

KeyActionInfo
<c-o>Copy abbreviated commit hash to clipboard
<space>ПереключитьCheckout the selected commit as a detached HEAD.
yСкопировать атрибут коммитаCopy commit attribute to clipboard (e.g. hash, URL, diff, message, author).
oОткрыть коммит в браузере
nСоздать новую ветку с этого коммита
NMove commits to new branchCreate a new branch and move the unpushed commits of the current branch to it. Useful if you meant to start new work and forgot to create a new branch first.

Note that this disregards the selection, the new branch is always created either from the main branch or stacked on top of the current branch (you get to choose which). | | g | Просмотреть параметры сброса | View reset options (soft/mixed/hard) for resetting onto selected item. | | C | Скопировать отобранные коммит (cherry-pick) | Mark commit as copied. Then, within the local commits view, you can press V to paste (cherry-pick) the copied commit(s) into your checked out branch. At any time you can press <esc> to cancel the selection. | | <c-r> | Сбросить отобранную (скопированную | cherry-picked) выборку коммитов | | | <c-t> | Open external diff tool (git difftool) | | | * | Select commits of current branch | | | 0 | Focus main view | | | <enter> | Просмотреть файлы выбранного элемента | | | w | View worktree options | | | / | Найти | |

Подмодули

KeyActionInfo
<c-o>Скопировать название подмодуля в буфер обмена
<enter>EnterВвести подмодуль
dRemoveRemove the selected submodule and its corresponding directory.
uUpdateОбновить подмодуль
nДобавить новый подмодуль
eОбновить URL подмодуля
iInitializeИнициализировать подмодуль
bПросмотреть параметры массового подмодуля
/Filter the current view by text

Сводка коммита

KeyActionInfo
<enter>Подтвердить
<esc>Закрыть

Сохранить Изменения Файлов

KeyActionInfo
<c-o>Скопировать название файла в буфер обмена
yCopy to clipboard
cПереключитьПереключить файл
dПросмотреть параметры «отмены изменении»Отменить изменения коммита в этом файле
oОткрыть файлOpen file in default application.
eEditOpen file in external editor.
<c-t>Open external diff tool (git difftool)
<space>Переключить файлы включённые в патчToggle whether the file is included in the custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches.
aПереключить все файлы, включённые в патчAdd/remove all commit's files to custom patch. See https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches.
<enter>Введите файл, чтобы добавить выбранные строки в патч (или свернуть каталог переключения)If a file is selected, enter the file so that you can add/remove individual lines to the custom patch. If a directory is selected, toggle the directory.
`Переключить вид дерева файловToggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.

The default can be changed in the config file with the key 'gui.showFileTree'. | | - | Collapse all files | Collapse all directories in the files tree | | = | Expand all files | Expand all directories in the file tree | | 0 | Focus main view | | | / | Filter the current view by text | |

Статус

KeyActionInfo
oОткрыть файл конфигурацииOpen file in default application.
eРедактировать файл конфигурацииOpen file in external editor.
uПроверить обновления
<enter>Переключиться на последний репозиторий
aShow/cycle all branch logs
AShow/cycle all branch logs (reverse)
0Focus main view

Теги

KeyActionInfo
<c-o>Copy tag to clipboard
<space>ПереключитьCheckout the selected tag as a detached HEAD.
nСоздать тегCreate new tag from current commit. You'll be prompted to enter a tag name and optional description.
dDeleteView delete options for local/remote tag.
PОтправить тегPush the selected tag to a remote. You'll be prompted to select a remote.
gResetView reset options (soft/mixed/hard) for resetting onto selected item.
<c-t>Open external diff tool (git difftool)
0Focus main view
<enter>Просмотреть коммиты
wView worktree options
/Filter the current view by text

Удалённые ветки

KeyActionInfo
<c-o>Скопировать название ветки в буфер обмена
<space>ПереключитьCheckout a new local branch based on the selected remote branch, or the remote branch as a detached head.
nНовая ветка
MСлияние с текущей переключённой веткойView options for merging the selected item into the current branch (regular merge, squash merge)
rПеребазировать переключённую ветку на эту веткуRebase the checked-out branch onto the selected branch.
dDeleteDelete the remote branch from the remote.
uSet as upstreamУстановить как upstream-ветку переключённую ветку
sПорядок сортировки
gПросмотреть параметры сбросаView reset options (soft/mixed/hard) for resetting onto selected item.
<c-t>Open external diff tool (git difftool)
0Focus main view
<enter>Просмотреть коммиты
wView worktree options
/Filter the current view by text

Удалённые репозитории

KeyActionInfo
<enter>View branches
nДобавить новую удалённую ветку
dRemoveRemove the selected remote. Any local branches tracking a remote branch from the remote will be unaffected.
eEditРедактировать удалённый репозитории
fПолучить измененияПолучение изменения из удалённого репозитория
FAdd fork remoteQuickly add a fork remote by replacing the owner in the origin URL and optionally check out a branch from new remote.
/Filter the current view by text

Файлы

KeyActionInfo
<c-o>Скопировать название файла в буфер обмена
<space>Переключить индексToggle staged for selected file.
<c-b>Фильтровать файлы (проиндексированные/непроиндексированные)
yCopy to clipboard
cСохранить измененияCommit staged changes.
wЗакоммитить изменения без предварительного хука коммита
AПравка последнего коммита
CСохранить изменения с помощью редактора git
<c-f>Find base commit for fixupFind the commit that your current changes are building upon, for the sake of amending/fixing up the commit. This spares you from having to look through your branch's commits one-by-one to see which commit should be amended/fixed up. See docs: https://github.com/jesseduffield/lazygit/tree/master/docs/Fixup_Commits.md
eEditOpen file in external editor.
oОткрыть файлOpen file in default application.
iИгнорировать или исключить файл
rОбновить файлы
sStashStash all changes. For other variations of stashing, use the view stash options keybinding.
SПросмотреть параметры хранилищаView stash options (e.g. stash all, stash staged, stash unstaged).
aВсе проиндексированные/непроиндексированныеToggle staged/unstaged for all files in working tree.
<enter>Проиндексировать отдельные части/строки для файла или свернуть/развернуть для каталогаIf the selected item is a file, focus the staging view so you can stage individual hunks/lines. If the selected item is a directory, collapse/expand it.
dПросмотреть параметры «отмены изменении»View options for discarding changes to the selected file.
gПросмотреть параметры сброса upstream-ветки
DResetView reset options for working tree (e.g. nuking the working tree).
`Переключить вид дерева файловToggle file view between flat and tree layout. Flat layout shows all file paths in a single list, tree layout groups files by directory.

The default can be changed in the config file with the key 'gui.showFileTree'. | | <c-t> | Open external diff tool (git difftool) | | | M | View merge conflict options | View options for resolving merge conflicts. | | f | Получить изменения | Fetch changes from remote. | | - | Collapse all files | Collapse all directories in the files tree | | = | Expand all files | Expand all directories in the file tree | | 0 | Focus main view | | | / | Filter the current view by text | |

Хранилище

KeyActionInfo
<space>Применить припрятанные измененияApply the stash entry to your working directory.
gПрименить припрятанные изменения и тут же удалить их из хранилищаApply the stash entry to your working directory and remove the stash entry.
dУдалить припрятанные изменения из хранилищаRemove the stash entry from the stash list.
nНовая веткаCreate a new branch from the selected stash entry. This works by git checking out the commit that the stash entry was created from, creating a new branch from that commit, then applying the stash entry to the new branch as an additional commit.
rПереименовать хранилище
0Focus main view
<enter>Просмотреть файлы выбранного элемента
wView worktree options
/Filter the current view by text