Repository navigation
tigit v0.1.0 - Initial Release
An interactive TUI (Terminal User Interface) for comparing git HEAD with the main branch and selectively reverting changes.
Features
- 🎯 Side-by-side diff view comparing HEAD and main branch
- 🔍 Interactive navigation through files and hunks
- ✅ Select individual hunks to revert
- 📝 Stage reverted changes with git
- 🔄 Auto-detects main branch (main/master)
- 🦀 Built with Rust and ratatui
Installation
cargo install --git https://github.com/theogf/tigitOr download the pre-built binaries below for your platform.
Quick Start
# Run in current directory
tigit
# Specify a repository path
tigit --path /path/to/repo
# Compare against a different branch
tigit --branch developKeyboard Shortcuts
Navigation: ↑/↓, Tab, PgUp/PgDn
Selection: Space, a (select all), n (deselect all)
Actions: Enter (apply), ? (help), q (quit)
Testing
Includes comprehensive test suite with 58 tests (50 unit tests + 8 integration tests).
For more details, see the README.