Full-featured TUI git client with smart commit suggestions. Stage files, commit with AI-style suggestions, manage branches, rebase, stash, and monitor CI/CD — all from the terminal. Built with Go and Bubble Tea.
Supported platforms: Linux and macOS. On Windows, use WSL.
Recommended (installs to ~/.local/bin):
curl -fsSL https://raw.githubusercontent.com/LFroesch/gitty/main/install.sh | bashOr download a binary from GitHub Releases.
Or install with Go:
go install github.com/LFroesch/gitty@latestOr build from source:
make installCommand:
cd your-repo
gitty
gitty --versionFile staging with live diff preview.
| Key | Action |
|---|---|
space |
Stage/unstage file |
a |
Stage all |
R |
Reset (unstage all) |
v |
Toggle diff preview |
d |
View full diff |
Conflict mode (auto-activates): o ours, t theirs, b both, c continue merge.
Smart suggestions + custom input.
| Key | Action |
|---|---|
1-9 |
Commit with numbered suggestion |
enter/c |
Type custom message |
space |
Commit with selected suggestion |
Suggestions are generated from diff analysis — detects keywords, function names, variables, comments, and classifies changes as feat/fix/refactor/etc.
Create, switch, delete, merge, compare.
| Key | Action |
|---|---|
enter |
Switch to branch |
n |
Create new branch |
d |
Delete branch |
m |
Merge into current |
c |
Compare with main |
f |
Fetch remote |
p |
Prune stale remotes |
Advanced operations submenu.
| Tool | What it does |
|---|---|
| Undo/Revert | Soft/mixed/hard reset, reflog |
| Interactive Rebase | Squash, reword, drop, fixup |
| History | Last 20 commits, hash copy |
| Remote | Push, pull, fetch |
Also: stash (list/push/pop/apply/drop), tags (list/create/delete/push), cherry-pick, revert, clean, git hooks.
CI/CD workflow status via gh CLI.
| Key | Action |
|---|---|
enter |
View run logs |
R |
Rerun workflow |
r |
Refresh |
ghenables the GitHub workflows tab- installed git hooks run through your local Git setup
Without gh, the core workspace, commit, branch, and tool flows still work.
Parses diffs and generates conventional commit messages:
[1] feat(auth): add validation to userInput
[2] fix(auth): fix error handling in processPayment
[3] refactor(api): optimize database query performance
Detects: keywords (bug, fix, optimize, cache), function names (Go/JS/TS/Python/Java/C#), variable names, code comments, change patterns.
Press h to install hooks, H to remove, i to check status:
- Conventional commit message validation
- No large files
- Detect secrets