$linuxjunkies
>

gitui(1)

A blazing fast terminal-based UI for Git written in Rust.

UbuntuDebianFedoraArch

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

FlagWhat it does
-h, --helpPrint help information and exit
-V, --versionPrint version information and exit
--loggingEnable logging to a file in the temp directory
--logfile <PATH>Specify a custom file path for logging output
--traceEnable trace-level logging for debugging

Examples

Open gitui in the current directory's Git repository

gitui

Open gitui in the specified repository directory

gitui /path/to/repo

Launch gitui with debug logging enabled to a temp file

gitui --logging

Start gitui with logging output directed to a specific file

gitui --logfile /tmp/gitui.log

Navigate to a project directory and open its Git repository in gitui

cd ~/myproject && gitui

Run gitui with detailed trace-level logging for troubleshooting

gitui --trace

Related commands