Blazing fast terminal-ui for git written in rust
open sourceMITself-hostablefree
GitUI is a keyboard-driven terminal UI for Git, written in Rust, that brings the comfort of a git GUI into the terminal and stays responsive on giant repositories. It stages, unstages, reverts and resets files, hunks and lines, commits and amends (running the commit hooks), stashes, pushes and fetches, manages branches, browses and searches the log, and shows context-based help so there's no need to memorise hotkeys. It's in beta and not yet a full substitute for the git command line. The gitui-org organization maintains it; extrawurst started it in 2020.
Ways to install
Package managers
Problems it solves
- a git interface in the terminal that doesn't freeze on a huge repository
- stage individual lines and hunks with the keyboard without git add -p
- manage git stashes and branches from a terminal UI
- a git GUI I can use over SSH on a remote server
Features
- keyboard-only control with context-based help
- stage, unstage, revert and reset files, hunks and lines
- commit and amend, running pre-commit, commit-msg and post-commit hooks
- stashing: save, pop, apply, drop and inspect
- push and fetch
- branch list: create, rename, delete, checkout, remotes
- browse and search the commit log
- submodules
- GPG commit signing (with shortcomings)
- async git API for a responsive UI
Limitations
- No interactive rebase yet: it's on the road map to 1.01
- No Git LFS support1
- No sparse repository support1
- HTTPS credentials need credential.helper configured explicitly1
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what GitUI does.
- lazygit simple terminal UI for git commands
- Tig Text-mode interface for Git
- Sublime Merge Git client from the makers of Sublime Text
- Sourcetree Simplicity and power in a beautiful Git GUI
- GitHub Desktop Focus on what matters instead of fighting with Git.
- PwrGit Git for people working alongside an agent
