Back to Lazygit

Lazygit Atalhos do teclado

docs-master/keybindings/Keybindings_pt.md

0.61.128.6 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 Atalhos do teclado

Legend: <c-b> means ctrl+b, <a-b> means alt+b, B means shift+b

Combinações globais de teclas

KeyActionInfo
<c-r>Mudar para um repositório recente
<pgup> (fn+up/shift+k)Rolar janela principal para cima
<pgdown> (fn+down/shift+j)Rolar a janela principal para baixo
@View command log optionsView options for the command log e.g. show/hide the command log and focus the command log.
PEmpurre (Push)Faça push do branch atual para o seu branch upstream. Se nenhum upstream estiver configurado, você será solicitado a configurar um branch a montante.
pPuxar (Pull)Puxe alterações do controle remoto para o ramo atual. Se nenhum upstream estiver configurado, será solicitado configurar um ramo a montante.
)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 diff context size | 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 diff context size | 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'. | | : | Executar comando da shell | Traga um prompt onde você pode digitar um comando shell para executar. | | <c-p> | Ver opções de patch personalizadas | | | m | Ver opções de mesclar/rebase | Ver opções para abortar/continuar/pular o merge/rebase atual. | | R | Atualizar | Atualize o estado do git (ou seja, execute git status, git branch, etc em segundo plano para atualizar o conteúdo de painéis). Isso não executa git fetch. | | + | Modo de tela seguinte (normal/metade/tela cheia) | | | _ | Modo de tela anterior | | | \| | Cycle pagers | Choose the next pager in the list of configured pagers | | <esc> | Cancelar | | | ? | Abrir o menu de atalhos do teclado | | | <c-s> | Ver opções de filtro | View options for filtering the commit log, so that only commits matching the filter are shown. | | W | View diffing options | 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 diffing options | View options relating to diffing two refs e.g. diffing against selected ref, entering ref to diff against, and reversing the diff direction. | | q | Sair | | | <c-z> | Suspender a aplicação | | | <c-w> | Toggle whitespace | 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 | Desfazer | O reflog será usado para determinar qual comando git para executar para desfazer o último comando git. Isto não inclui mudanças na árvore de trabalho; apenas compromissos são tidos em consideração. | | Z | Refazer | O reflog será usado para determinar qual comando git para executar para refazer o último comando git. Isto não inclui mudanças na árvore de trabalho; apenas compromissos são tidos em consideração. |

List panel navigation

KeyActionInfo
,Aba anterior
.Próxima aba
< (<home>)Voltar ao topo
> (<end>)Ir para o final
vToggle range select
<s-down>Range select down
<s-up>Range select up
/Pesquisar na visualização atual por texto
HRolar à esquerda
LScroll para a direita
]Próxima aba
[Aba anterior

Arquivos

KeyActionInfo
<c-o>Copiar caminho para área de transferência
<space>EtapaAlternar para staging para o arquivo selecionado.
<c-b>Filtrar arquivos por status
yCopy to clipboard
cCommitSubmeter mudanças em staging
wFazer commit de alterações sem pré-commit
AAlterar último commit
CEnviar alteração usando um editor Git
<c-f>Encontrar commit da base para corrigirEncontre o commit em que as suas mudanças atuais estão se baseando, para alterar/consertar o commit. Isso poupa-te você de ter que olhar pelos commits da sua branch um por um para ver qual commit deve ser alterado/consertado
Veja a documentação:
https://github.com/jesseduffield/lazygit/tree/master/docs/Fixup_Commits.md
eEditarAbrir arquivo no editor externo.
oAbrir arquivoAbrir arquivo no aplicativo padrão.
iIgnore or exclude file
rAtualizar arquivos
sStashStash todas as alterações. Para outras variações de armazenamento, use a fixação de teclas de armazenamento.
SVer opções de stashVer opções de stash (por exemplo, trash all, stash staged, stash unsttued).
aStage completoAlternar para todos os arquivos na árvore de trabalho
<enter>Stage lines / Colapso diretórioSe o item selecionado for um arquivo, o foco na exibição de preparo para o estágio de cenas/linhas individuais. Se o item selecionado for um diretório, recolher/expandi-lo.
dDescartarExibir opções para descartar alterações para o arquivo selecionado.
gView upstream reset options
DRestaurarOpções de redefinição de exibição para árvore de trabalho (por exemplo, nukando a árvore de trabalho).
`Alternar exibição de árvore de arquivoToggle 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> | Abrir ferramenta de diff externa (git difftool) | | | M | View merge conflict options | View options for resolving merge conflicts. | | f | Buscar | Buscar alterações do controle remoto. | | - | Recolher todos os arquivos | Recolher todos os diretórios na árvore de arquivos | | = | Expandir todos os arquivos | Expandir todos os diretórios na árvore do arquivo | | 0 | Focar visualização principal | | | / | Filtrar a visualização atual por texto | |

Branches locais

KeyActionInfo
<c-o>Copiar nome da branch para área de transferência
iExibir opções do git-flow
<space>VerificarChecar item selecionado
nNova branch
NMover commits para uma nova 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 | Criar solicitação de pull | | | O | View create pull request options | | | G | Open pull request in browser | | | <c-y> | Copiar URL do pull request para área de transferência | | | c | Checar por nome | Checar por nome. Na caixa de entrada você pode inserir '-' para trocar para a última branch | | - | Checkout da branch anterior | | | F | Forçar checagem | Forçar checagem da branch selecionada. Isso irá descartar todas as mudanças no seu diretório de trabalho antes cheque a branch selecionada | | d | Apagar | Ver opções de exclusão para a branch local/remoto. | | r | Refazer | Refazer a branch checada na branch selecionada | | M | Mesclar | Ver opções para mesclar o item selecionado no branch atual (mesclar regularmente, mesclar squash) | | f | Avanço rápido | Encaminhamento rápido de branch selecionada a partir do upstream. | | T | Nova etiqueta | | | s | Sort order | | | g | Restaurar | | | R | Renomear branch | | | 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> | Abrir ferramenta de diff externa (git difftool) | | | 0 | Focar visualização principal | | | <enter> | Ver commits | | | w | Ver opções da árvore de trabalho | | | / | Filtrar a visualização atual por texto | |

Branches remotos

KeyActionInfo
<c-o>Copiar nome da branch para área de transferência
<space>VerificarChecar a nova branch baseada na brach remota selecionada, ou a branch remota como HEAD, desanexado
nNova branch
MMesclarVer opções para mesclar o item selecionado no branch atual (mesclar regularmente, mesclar squash)
rRefazerRefazer a branch checada na branch selecionada
dApagarExcluir o branch remoto do controle remoto.
uDefinir como upstreamDefinir o ramo remoto selecionado como fluxo do branch check-out.
sSort order
gRestaurarVer opções de redefinição (soft/mixed/hard) para redefinir para o item selecionado.
<c-t>Abrir ferramenta de diff externa (git difftool)
0Focar visualização principal
<enter>Ver commits
wVer opções da árvore de trabalho
/Filtrar a visualização atual por texto

Commit arquivos

KeyActionInfo
<c-o>Copiar caminho para área de transferência
yCopy to clipboard
cVerificarArquivo de check-out. Isso substitui o arquivo em sua árvore de trabalho com a versão do commit selecionado.
dDescartarDescartar as alterações desse commit para este arquivo. Isso executa uma rebase interativa em segundo plano, então você pode ter um conflito de merge se um commit posterior também alterar este arquivo.
oAbrir arquivoAbrir arquivo no aplicativo padrão.
eEditarAbrir arquivo no editor externo.
<c-t>Abrir ferramenta de diff externa (git difftool)
<space>Alternar entre o arquivo incluído no patchAlternar se o arquivo está incluído no patch personalizado. Veja https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches.
aAlternar todos os arquivosAdicionar/remover todos os arquivos de commit para atualização personalizada. Consulte https://github.com/jesseduffield/lazygit#rebase-magic-custom-patches.
<enter>Insira o arquivo / Alternar diretório recolhidoSe um arquivo estiver selecionado, insira o arquivo para que você possa adicionar/remover linhas individuais no patch personalizado. Se um diretório for selecionado, ative o diretório.
`Alternar exibição de árvore de arquivoToggle 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'. | | - | Recolher todos os arquivos | Recolher todos os diretórios na árvore de arquivos | | = | Expandir todos os arquivos | Expandir todos os diretórios na árvore do arquivo | | 0 | Focar visualização principal | | | / | Filtrar a visualização atual por texto | |

Commits

KeyActionInfo
<c-o>Copy abbreviated commit hash to clipboard
<c-r>Reset copied (cherry-picked) commits selection
bVer opções de bissecção
sSquashSquash o commit selecionado no commit abaixo dele. A mensagem do commit selecionado será anexada ao commit abaixo dele.
fCorrigirFaça o commit selecionado no commit abaixo dele. Semelhante para o squash, mas a mensagem do commit selecionado será descartada.
cConfigurar mensagem de correçãoDefina a opção de mensagem para o commit de correção. A opção -C significa usar a mensagem deste commit em vez da mensagem do commit alvo.
rRewordRepetir a mensagem de submissão selecionada.
RRepublicar com o editor
dDescartarSolte o commit selecionado. Isso irá remover o commit do branch através de uma rebase. Se o commit faz com que as alterações em commits posteriores dependem, você pode precisar resolver conflitos de merge.
eEditar (iniciar rebase interativa)Editar o commit selecionado. Use isto para iniciar uma rebase interativa a partir do commit selecionado. Quando já estiver no meio da reconstrução, isto irá marcar o commit selecionado para edição, o que significa que ao continuar com a reformulação. a rebase irá pausar no commit selecionado para permitir que você faça alterações.
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.
pEscolherMarque o commit selecionado para ser escolhido (quando meados da base). Isso significa que o commit será mantido ao continuar o rebase.
FCriar commit de correçãoCrie o commit 'correção!' para o commit selecionado. Mais tarde, você pode pressionar S neste mesmo commit para aplicar todas os commits de correção acima.
SAplicar commits de correçõesAplicar Squash all 'correção!', seja acima do commit selecionado, ou tudo no branch atual (autosquash).
<c-j>Mover commit um para baixo
<c-k>Mover o commit um para cima
VColar (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.
AModificarAlterar o commit com mudanças em sted. Se o commit selecionado for o commit HEAD, ele executará o git commit --amend. Caso contrário, o compromisso será alterado por meio de uma base de apoio.
aAlterar atributo de commitDefinir/Redefinir autor de submissão ou co-autor definido.
tReverterCrie um commit reverter para o commit selecionado, que aplica as alterações do commit selecionado em reverso.
TEtiquetar commitCreate a new tag pointing at the selected commit. You'll be prompted to enter a tag name and optional description.
<c-l>View log optionsView options for commit log e.g. changing sort order, hiding the git graph, showing the whole git graph.
GOpen pull request in browser
<space>VerificarCheckout the selected commit as a detached HEAD.
yCopy commit attribute to clipboardCopy commit attribute to clipboard (e.g. hash, URL, diff, message, author).
oAbrir commit no navegador
nCreate new branch off of commit
NMover commits para uma nova 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 | Restaurar | Ver opções de redefinição (soft/mixed/hard) para redefinir para o item selecionado. | | C | Copiar (cherry-pick) | Marcar commit como copiado. Então, dentro da visualização local de commits, você pode pressionar V para colar (cherry-pick) o(s) commit(s) copiado(s) em seu branch de check-out. A qualquer momento você pode pressionar <esc> para cancelar a seleção. | | <c-t> | Abrir ferramenta de diff externa (git difftool) | | | * | Select commits of current branch | | | 0 | Focar visualização principal | | | <enter> | Ver arquivos | | | w | Ver opções da árvore de trabalho | | | / | Pesquisar na visualização atual por texto | |

Etiquetas

KeyActionInfo
<c-o>Copiar etiqueta para área de transferência
<space>VerificarChecar a tag selecionada como um HEAD, desanexado
nNova etiquetaCrie uma nova etiqueta a partir do commit atual. Você será solicitado a digitar um nome e uma descrição opcional.
dApagarVer opções de exclusão para tag local/remoto.
PEmpurrar etiquetaPush the selected tag to a remote. You'll be prompted to select a remote.
gRestaurarVer opções de redefinição (soft/mixed/hard) para redefinir para o item selecionado.
<c-t>Abrir ferramenta de diff externa (git difftool)
0Focar visualização principal
<enter>Ver commits
wVer opções da árvore de trabalho
/Filtrar a visualização atual por texto

Input prompt

KeyActionInfo
<enter>Confirmar
<esc>Fechar/Cancelar
KeyActionInfo
<enter>Executar
<esc>Fechar/Cancelar
/Filtrar a visualização atual por texto

Painel Principal (Normal)

KeyActionInfo
mouse wheel down (fn+up)Rolar para baixo
mouse wheel up (fn+down)Rolar para cima
<tab>Mudar de visãoAlternar para outra visão (staged/não processadas alterações).
<esc>Exit back to side panel
/Pesquisar na visualização atual por texto

Painel Principal (preparação)

KeyActionInfo
<left>Ir para o local anterior
<right>Ir para o próximo trecho
vToggle range select
aToggle hunk selectionAtiva/desativa modo linha por linha vs. modo de seleção por partes.
<c-o>Copiar texto selecionado para área de transferência
<space>EtapaAtivar/desativar seleção em staged/unstaged
dDescartarQuando a mudança não desejada for selecionada, descarte a mudança usando git reset. Quando a mudança em fase é selecionada, despare a mudança.
oAbrir arquivoAbrir arquivo no aplicativo padrão.
eEditar arquivoAbrir arquivo no editor externo.
<esc>Retornar ao painel de arquivos
<tab>Mudar de visãoAlternar para outra visão (staged/não processadas alterações).
EEditar hunkEditar o local selecionado no editor externo.
cCommitSubmeter mudanças em staging
wFazer commit de alterações sem pré-commit
CEnviar alteração usando um editor Git
<c-f>Encontrar commit da base para corrigirEncontre o commit em que as suas mudanças atuais estão se baseando, para alterar/consertar o commit. Isso poupa-te você de ter que olhar pelos commits da sua branch um por um para ver qual commit deve ser alterado/consertado
Veja a documentação:
https://github.com/jesseduffield/lazygit/tree/master/docs/Fixup_Commits.md
/Pesquisar na visualização atual por texto

Painel de confirmação

KeyActionInfo
<enter>Confirmar
<esc>Fechar/Cancelar
<c-o>Copy to clipboard

Painel principal (mesclagem)

KeyActionInfo
<space>Escolha o local
bPegar todos os pedaços
<up>Trecho anterior
<down>Próximo trecho
<left>Conflito anterior
<right>Próximo conflito
zDesfazerDesfazer resolução de conflitos de última mesclagem.
eEditar arquivoAbrir arquivo no editor externo.
oAbrir arquivoAbrir arquivo no aplicativo padrão.
MView merge conflict optionsView options for resolving merge conflicts.
<esc>Retornar ao painel de arquivos

Painel principal (patch build)

KeyActionInfo
<left>Ir para o local anterior
<right>Ir para o próximo trecho
vToggle range select
aToggle hunk selectionAtiva/desativa modo linha por linha vs. modo de seleção por partes.
<c-o>Copiar texto selecionado para área de transferência
oAbrir arquivoAbrir arquivo no aplicativo padrão.
eEditar arquivoAbrir arquivo no editor externo.
<space>Alternar linhas no caminho
dRemover linhas do 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>Sair do construtor de patch personalizado
/Pesquisar na visualização atual por texto

Reflog

KeyActionInfo
<c-o>Copy abbreviated commit hash to clipboard
<space>VerificarCheckout the selected commit as a detached HEAD.
yCopy commit attribute to clipboardCopy commit attribute to clipboard (e.g. hash, URL, diff, message, author).
oAbrir commit no navegador
nCreate new branch off of commit
NMover commits para uma nova 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 | Restaurar | Ver opções de redefinição (soft/mixed/hard) para redefinir para o item selecionado. | | C | Copiar (cherry-pick) | Marcar commit como copiado. Então, dentro da visualização local de commits, você pode pressionar V para colar (cherry-pick) o(s) commit(s) copiado(s) em seu branch de check-out. A qualquer momento você pode pressionar <esc> para cancelar a seleção. | | <c-r> | Reset copied (cherry-picked) commits selection | | | <c-t> | Abrir ferramenta de diff externa (git difftool) | | | * | Select commits of current branch | | | 0 | Focar visualização principal | | | <enter> | Ver commits | | | w | Ver opções da árvore de trabalho | | | / | Filtrar a visualização atual por texto | |

Remotes

KeyActionInfo
<enter>Ver branches
nNovo controle
dRemoverRemover o controle remoto. Quaisquer ramificações locais de rastreamento de um ramo remoto do controle não serão afetadas.
eEditarEdit the selected remote's name or URL.
fBuscarFetch updates from the remote repository. This retrieves new commits and branches without merging them into your local branches.
FAdd fork remoteQuickly add a fork remote by replacing the owner in the origin URL and optionally check out a branch from new remote.
/Filtrar a visualização atual por texto

Secundário

KeyActionInfo
<tab>Mudar de visãoAlternar para outra visão (staged/não processadas alterações).
<esc>Exit back to side panel
/Pesquisar na visualização atual por texto

Stash

KeyActionInfo
<space>AplicarAplique o stash no seu diretório de trabalho.
gPopAplique a entrada de stash no seu diretório de trabalho e remova a entrada de stash.
dDescartarRemova a entrada do stash da lista de armazenamento.
nNova branchCriar um novo ramo a partir da entrada de lixo selecionada. Isso funciona verificando o commit do qual a entrada de lixo foi criada, criar um novo branch a partir desse commit e, em seguida, aplicar a entrada de lixo ao novo branch como um commit adicional.
rRenomear o stash
0Focar visualização principal
<enter>Ver arquivos
wVer opções da árvore de trabalho
/Filtrar a visualização atual por texto

Status

KeyActionInfo
oAbrir o ficheiro de configAbrir arquivo no aplicativo padrão.
eEditar arquivo de configuraçãoAbrir arquivo no editor externo.
uVerificar atualização
<enter>Mudar para um repositório recente
aMostrar/ciclo todos os logs de filiais
AShow/cycle all branch logs (reverse)
0Focar visualização principal

Sub-commits

KeyActionInfo
<c-o>Copy abbreviated commit hash to clipboard
<space>VerificarCheckout the selected commit as a detached HEAD.
yCopy commit attribute to clipboardCopy commit attribute to clipboard (e.g. hash, URL, diff, message, author).
oAbrir commit no navegador
nCreate new branch off of commit
NMover commits para uma nova 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 | Restaurar | Ver opções de redefinição (soft/mixed/hard) para redefinir para o item selecionado. | | C | Copiar (cherry-pick) | Marcar commit como copiado. Então, dentro da visualização local de commits, você pode pressionar V para colar (cherry-pick) o(s) commit(s) copiado(s) em seu branch de check-out. A qualquer momento você pode pressionar <esc> para cancelar a seleção. | | <c-r> | Reset copied (cherry-picked) commits selection | | | <c-t> | Abrir ferramenta de diff externa (git difftool) | | | * | Select commits of current branch | | | 0 | Focar visualização principal | | | <enter> | Ver arquivos | | | w | Ver opções da árvore de trabalho | | | / | Pesquisar na visualização atual por texto | |

Submódulos

KeyActionInfo
<c-o>Copiar o nome do submódulo para área de transferência
<enter>EnterEnter submodule. After entering the submodule, you can press <esc> to escape back to the parent repo.
dRemoverRemova o submódulo selecionado e o diretório correspondente.
uAtualizarAtualizar submódulo selecionado.
nNovo submódulo
eAtualizar URL do submódulo
iInicializarInitialize the selected submodule to prepare for fetching. You probably want to follow this up by invoking the 'update' action to fetch the submodule.
bView bulk submodule options
/Filtrar a visualização atual por texto

Sumário do commit

KeyActionInfo
<enter>Confirmar
<esc>Fechar

Árvores de trabalho

KeyActionInfo
nNova árvore de trabalho
<space>SwitchMudar para a árvore de trabalho selecionada.
oAbrir no editor
dRemoverRemove the selected worktree. This will both delete the worktree's directory, as well as metadata about the worktree in the .git directory.
/Filtrar a visualização atual por texto