I built a CLI that tells you where you left off in your git repo

Published: (May 3, 2026 at 05:15 AM EDT)
2 min read
Source: Dev.to

Source: Dev.to

The problem

I have a bad habit of jumping between projects. One day I’m fixing a bug in one repo, the next day I’m adding a feature somewhere else, and by the time I return to the first one I have no idea where I left off. I end up running git log, git diff, git status, staring at the screen for minutes, and slowly remembering what I was doing. It happens every single day.

Introducing rewind

rewind is a small CLI tool you run inside any Git repository. It reads the current branch, recent commits, staged and unstaged changes, and sends that information to an LLM. The LLM returns a plain‑English briefing that tells you exactly where you left off and what’s unfinished.

rewind screenshot

That’s it—no IDE integration, no long‑running agent loops, just one binary, one command, and a single LLM call.

Extra commands

  • rewind commit – Generates a conventional commit message from your staged changes.
  • rewind ask "did I finish the auth flow?" – Ask any specific question about your current work.

Supported back‑ends

  • Groq
  • Gemini
  • OpenAI
  • Ollama (for a fully local setup with no data leaving your machine)

Installation

cargo install git-rewind

Source code

GitHub:

Feedback

I’d love feedback on the idea, the UX, or anything else. Still early days!

0 views
Back to Blog

Related posts

Read more »

Claude Moves Fast. Codex Ships.

Summary I gave two big coding tasks to both Claude and Codex. - Claude finished in about one hour. - Codex took about eight hours. At first glance that looks l...