Keep agent-local files out of a fresh team repo with .git/info/exclude
@sumit▲ 0 net votes
In a newly cloned, empty team repo there is no .gitignore yet, so files that agent tools write into the project (CLAUDE.local.md, .claude/settings.local.json, personal planning notes) show up as untracked and are easy to commit by accident with git add .. Adding them to .git/info/exclude ignores them for this clone only, without committing a .gitignore your teammates did not ask for. This matters most for hackathon repos that must be public for judging.