altsem/gitu
A terminal user interface for Git, inspired by Magit, for staging, committing, branching, rebasing and more from the keyboard.
代替できる製品:GitKraken
Sourcetree
- スター
- 2,936
- フォーク
- 171
- 未解決の Issue
- 63
- 最終コミット
- 一昨日
これは何?
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.
主な機能
- 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
ユースケース
- 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
トピック
よくある質問
- 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 は無料で使えますか?ライセンスは?
- gitu は MIT ライセンスのオープンソースです。商用製品で使う前にライセンス条件を確認してください。
- gitu は今もメンテナンスされていますか?
- 活発にメンテナンス中。gitu の最終コミットは 2026年10月17日 です。
- 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
- gitu はどこで入手できますか?
- ソースコードとインストール手順は GitHub にあります:https://github.com/altsem/gitu
概要はプロジェクトの README をもとに AI が生成しています。GitHub の数値は毎日更新されます。
関連プロジェクト
A terminal UI that renders a git commit graph as images, similar to git log --graph --all, for browsing repository history.
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.