Git séance: a Git subcommand that lets you question a line's original author, offline
A developer built 'git séance', a Git subcommand that finds who originally wrote a given line of code and uses Google's open-weight Gemma 4 model, run locally through Ollama, to answer questions in that author's voice. The tool traces a line's full history, including reverts, and searches commit history to find the person best placed to explain a decision. A companion 'graveyard' command lists former contributors who have stopped committing and counts how many of their lines remain in use. The example output comes from a fictional payments repository, and the author frames the project around Día de los Muertos, treating commit messages as letters left for future developers. The whole pipeline runs on a laptop CPU with no API key or network access.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in