All projects

git_hint_search

Find deleted files in git history and restore them

Released · Nov 2026

Source code

An interactive terminal tool for the moment you remember a piece of a file but not where it went. Browse to a folder with the arrow keys, type a hint such as part of a file name or a line of code, and it searches the git history of that folder across all branches. Every match is marked as added, removed or deleted, with the commit, date and author.

Narrow the search to the file formats you care about, then view a result, save a copy, or restore it to its original place in the project. Nothing is overwritten silently: if the file already exists you can overwrite it, keep both or skip. It can also dig out content that no commit points to any more, for example after a git reset --hard. A single Python file with no dependencies.

  • Python
  • CLI
  • Git

Apps

Small tools I built and run. Each opens in its own tab.