Lazygit como alternativa Linux ao GitHub Desktop
Atualizado em
Nossa avaliação
Lazygit can replace GitHub Desktop for users comfortable with a terminal‑centric UI. It covers the essential Git operations—cloning, branching, committing, pushing, pulling and conflict resolution—without leaving the console, and it works on any Linux distribution that provides a package. It’s best for developers who prefer keyboard shortcuts and want a lightweight, scriptable interface; casual users who rely on mouse‑driven dialogs may find it less intuitive.
- Licença
- MIT
- Preço
- Grátis
- Versão mais recente
- 0.66.2
- Avaliação
- —
O que funciona igual
- Clone repositories from GitHub
- Create, switch, and delete branches
- Commit changes with a GUI/terminal UI
- Push and pull to/from remote
- View commit history and diffs
O que muda
- Lazygit is terminal‑based; GitHub Desktop is a native graphical app
- No built‑in integration with GitHub issues or pull‑request web view
- No drag‑and‑drop file staging; all actions use keyboard shortcuts
- No visual representation of pull‑request status or reviews
- Limited support for Windows‑style file dialogs and export options
Abrindo seus arquivos do GitHub Desktop
GitHub Desktop does not store project data in a proprietary format; it works directly on the Git repository. Lazygit reads the same .git metadata, so there is no special file conversion needed. If you have local configuration files for GitHub Desktop (e.g., preferences), they are not used by Lazygit.
Trocando o GitHub Desktop pelo Lazygit, passo a passo
- Install lazygit from your distro’s package manager (e.g., pacman, apt, zypper).
- Open a terminal and navigate to the existing repository cloned with GitHub Desktop.
- Run
lazygitto launch the UI; the repository will be detected automatically. - Familiarize yourself with the default keybindings (e.g.,
sto stage,cto commit). - If you use GitHub pull‑request features, open the web UI for review and merging.
Principais recursos do Lazygit
- Staging e unstaging interativo de file hunks
- Gerenciamento visual de branches e troca
- Edição integrada de mensagens de commit
- Visualização de status e log em tempo real
- Suporte a múltiplos repositórios simultaneamente
- Navegação controlada por teclado com uso mínimo de mouse
- Keybindings e temas personalizáveis
Como instalar o Lazygit no Linux
sudo apt install lazygitsudo pacman -S lazygitsudo zypper install lazygitPerguntas frequentes
Can I still use GitHub Desktop after switching to Lazygit?
Yes. Both tools operate on the same Git repository, so you can alternate between them as needed.
Do I lose any GitHub-specific features by moving to Lazygit?
Lazygit does not display issue or pull‑request details inside the UI; you’ll need to use the GitHub website or another tool for that.
Is Lazygit suitable for beginners?
It has a learning curve because it relies on keyboard shortcuts, but the on‑screen help (?) and clear prompts make it approachable once you get used to the layout.