✨ Visual Git Recovery Made Simple

Travel Through
Your Git History

A beautiful terminal interface for browsing git reflog. Navigate your repository's timeline, preview changes, and restore lost commits with confidence.

Git Time Machine Demo

Powerful Yet Simple

Everything you need to navigate and recover your Git history, wrapped in an intuitive interface.

⌨️

Keyboard-Driven

Navigate with arrow keys, vim bindings (j/k), or Home/End. Fast and efficient workflow for developers who love the terminal.

👁️

Live Diff Preview

Press Space to see git diff --stat before restoring. Know exactly what you're getting back with detailed change previews.

🛡️

Safety First

Confirmation dialogs for destructive operations. Uncommitted changes warnings. Never lose work by accident.

🎨

Beautiful UI

Clean, modern terminal interface with syntax highlighting. Makes reflog browsing actually enjoyable.

Lightning Fast

Built in Rust for maximum performance. Instant startup, smooth scrolling, responsive interactions.

🔍

Smart Filtering

View all history or just recent entries. Scroll through diffs with Shift+arrows. Find what you need quickly.

Get Started in Seconds

Install with Cargo and start recovering lost commits immediately

cargo install git-time-machine
1

Install

Run the cargo install command in your terminal

2

Navigate

cd into any Git repository

3

Launch

Run git-time-machine and start exploring

When You Need It Most

Real scenarios where git-time-machine saves the day

💥

Recover from Bad Rebase

Rebased and lost commits? Browse your reflog visually, find the state before the rebase, and restore with one keypress. No cryptic git commands needed.

🔙

Undo Accidental Reset

Did git reset --hard and panicked? Time machine shows all your previous states. Preview the diff, confirm it's the right one, and restore your work.

🌿

Find Deleted Branches

Accidentally deleted a branch? Your commits are still in reflog. Navigate through history, find the branch tip, and recover everything.

🕵️

Investigate History

Curious what happened in your repo? Browse through all operations, see when branches were created, when merges happened, and understand your project's evolution.