| Crates.io | keifu |
| lib.rs | keifu |
| version | 0.2.2 |
| created_at | 2025-12-20 03:17:14.08125+00 |
| updated_at | 2026-01-15 14:11:36.811619+00 |
| description | A TUI tool to visualize Git commit graphs with branch genealogy |
| homepage | |
| repository | https://github.com/trasta298/keifu |
| max_upload_size | |
| id | 1995951 |
| size | 484,994 |
keifu (η³»θ, /keΛΙΈΙ―/) is a terminal UI tool that visualizes Git commit graphs. It shows a colored commit graph, commit details, and a summary of changed files, and lets you perform basic branch operations.

git log --graph is hard to read; keifu renders a cleaner, color-coded graphgit command in PATH (required for fetch)cargo install keifu
cargo install --path .
Or:
cargo build --release
./target/release/keifu
Run inside a Git repository:
keifu
See docs/configuration.md for configuration options.
| Key | Action |
|---|---|
j / β |
Move down |
k / β |
Move up |
] / Tab |
Jump to next commit that has branch labels |
[ / Shift+Tab |
Jump to previous commit that has branch labels |
h / β |
Select left branch (same commit) |
l / β |
Select right branch (same commit) |
Ctrl+d |
Page down |
Ctrl+u |
Page up |
g / Home |
Go to top |
G / End |
Go to bottom |
@ |
Jump to HEAD (current branch) |
| Key | Action |
|---|---|
Enter |
Checkout selected branch/commit |
b |
Create branch at selected commit |
d |
Delete branch (local, non-HEAD) |
f |
Fetch from origin |
| Key | Action |
|---|---|
/ |
Search branches (incremental fuzzy search) |
β / Ctrl+k |
Select previous result |
β / Ctrl+j |
Select next result |
Enter |
Jump to selected branch |
Esc / Backspace on empty |
Cancel search |
| Key | Action |
|---|---|
R |
Refresh repository data |
? |
Toggle help |
q / Esc |
Quit |
+N suffix (e.g., main +2). Use h/l or β/β to switch between them.origin/xxx creates or updates a local branch. Upstream is set only when creating a new branch. If the local branch exists but points to a different commit, it is force-updated to match the remote.origin remote to be configured.MIT