Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

Show HN: Git-temp (local scratchpad for AI agents that won't clutter Git status)

Git-temp is a local scratchpad tool for AI agents that tracks temporary files in a separate namespace, preventing them from cluttering the main Git status output.

Background

- Git-temp is a command-line tool that lets AI coding agents (or human developers) store temporary scratch notes and files locally without them showing up in `git status` — useful during coding sessions where agents generate lots of intermediate output. - When AI coding assistants (like GitHub Copilot, Cursor, or Claude-powered agents) work on a codebase, they often create notes, plans, or drafts that shouldn't be tracked by Git or cluttered the working tree; git-temp provides a dedicated .gitignore-immune directory with a simple CLI (`git temp add`, `git temp list`, etc.). - The tool leverages Git's built-in sparse index / exclude mechanisms to keep temp files out of version control automatically, without manual .gitignore edits — solving a common friction point for agent-heavy development workflows. - Created by sebmellen (Sebastian Müller), who has worked on developer tooling and AI-assisted programming projects; the project is open source on GitHub.

Related stories