A terminal tool that replays Git commits as animated typing sessions with syntax highlighting and file tree transitions.
altsem/gitu
A terminal user interface for Git, inspired by Magit, for staging, committing, branching, rebasing and more from the keyboard.
Alternativa open source a:GitKraken
Sourcetree
- Estrelas
- 2,936
- Forks
- 171
- Issues abertas
- 63
- Último commit
- anteontem
O que é?
Gitu is a Git client that runs in the terminal, modeled on Magit, the Git interface for Emacs. It lets you work with a repository through a keyboard-driven view of its status, so common Git operations do not require remembering individual command-line flags.
The tool covers staging and unstaging at the file, hunk, or line level, along with committing (including amend and fixup), branching, fetching, pulling and pushing to the configured upstream, logging, rebasing (interactive, autosquash, continue and abort), resetting, reverting commits, and managing stashes. Keybindings follow Magit conventions while staying Vim-like, and a help menu is available with the `h` key.
Gitu is written in Rust and installed as a standalone binary. It opens your configured editor (VISUAL, EDITOR or GIT_EDITOR) for commit messages and file edits, and its behavior can be customized through a TOML config file. Shell completions can be generated from the CLI.
Recursos principais
- 01Stage and unstage files, hunks, or individual lines
- 02Commit, amend, and fixup from within the interface
- 03Branch checkout and creation, plus fetch, pull, and push
- 04Interactive and autosquash rebasing, along with reset, revert, and stash operations
- 05Magit-style keybindings with a built-in help menu
- 06TOML configuration and shell completion generation
Casos de uso
- Developers who already use Magit in Emacs and want a similar workflow in a standalone terminal
- Staging partial changes by hunk or line before committing
- Cleaning up a branch with interactive rebase or autosquash from the terminal
- Working over SSH or in environments without a graphical Git client
Tópicos
Perguntas frequentes
- O que é gitu?
- A terminal user interface for Git, inspired by Magit, for staging, committing, branching, rebasing and more from the keyboard. Gitu is a Git client that runs in the terminal, modeled on Magit, the Git interface for Emacs. It lets you work with a repository through a keyboard-driven view of its status, so common Git operations do not require remembering individual command-line flags.
- gitu é gratuito? Qual é a licença?
- gitu é open source sob a licença MIT. Confira os termos da licença antes de usá-lo em produtos comerciais.
- gitu ainda é mantido?
- Manutenção ativa. O último commit de gitu foi em 17 de out. de 2026.
- Para que posso usar gitu?
- Developers who already use Magit in Emacs and want a similar workflow in a standalone terminal Staging partial changes by hunk or line before committing Cleaning up a branch with interactive rebase or autosquash from the terminal Working over SSH or in environments without a graphical Git client
- Onde consigo gitu?
- O código-fonte e as instruções de instalação estão no GitHub: https://github.com/altsem/gitu
Resumo gerado por IA a partir do README do projeto. As estatísticas do GitHub são atualizadas diariamente.
Projetos relacionados
A terminal UI that renders a git commit graph as images, similar to git log --graph --all, for browsing repository history.
A minimal, customizable cross-shell prompt written in Rust that shows relevant project and environment info.
A minimal Rust-built statusline for Claude Code showing model, Git state, workspace, and context window usage in the terminal.
A terminal UI for rsync that manages reusable transfer profiles, previews changes as a dry-run diff, and shows live progress, including over SSH.
A small Rust CLI that prints CSV, TSV, JSON and SQLite data as stylish, auto-laid-out tables in your terminal.