gitui(1)
A blazing fast terminal-based UI for Git written in Rust.
Synopsis
gitui [OPTIONS] [DIRECTORY]Description
gitui is a terminal UI for Git that brings Git's most common operations to your fingertips with keyboard shortcuts and an interactive interface. Written in Rust, it prioritizes speed and responsiveness, making it ideal for developers who prefer working in the terminal.
It provides visual browsing of commits, staging and unstaging changes, viewing diffs, creating commits, and managing branches—all without leaving your terminal. The interface is inspired by tools like Magit (for Emacs) and brings that power to the command line.
Common options
| Flag | What it does |
|---|---|
-h, --help | Print help information and exit |
-V, --version | Print version information and exit |
--logging | Enable logging to a file in the temp directory |
--logfile <PATH> | Specify a custom file path for logging output |
--trace | Enable trace-level logging for debugging |
Examples
Open gitui in the current directory's Git repository
gituiOpen gitui in the specified repository directory
gitui /path/to/repoLaunch gitui with debug logging enabled to a temp file
gitui --loggingStart gitui with logging output directed to a specific file
gitui --logfile /tmp/gitui.logNavigate to a project directory and open its Git repository in gitui
cd ~/myproject && gituiRun gitui with detailed trace-level logging for troubleshooting
gitui --trace