Skip to content

Commit 090a9ca

Browse files
Add development entries to .gitignore (#3873)
## Changes Add /pr-* and /tmp/ to .gitignore to prevent local development notes and temporary files from being tracked. ## Why - Adding `/tmp/` gives agents a scratch space inside the current directory that is safe from accidental commits - Adding `/pr-*` allows for tracking descriptions of pending pull requests in markdown files, again safe from accidental commits Accidental commits of files that aren't git-ignored are more prone to happening with agents, so I previously had to manually revert commits of files like the above. Having them listed in .gitignore makes it easier for agents to do the right thing.
1 parent 92029e1 commit 090a9ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ tools/golangci-lint
4242

4343
# Release artifacts
4444
dist/
45+
46+
# Local development notes, tmp
47+
/pr-*
48+
/tmp/

0 commit comments

Comments
 (0)