The build log writing into a file git tracks, so every commit leaves a new change behind and the repo never looks clean.
Add "Keep the queue out of git" from ntent to this repo.
Fetch https://ntent.app/r/f/build-log-ignore as plain text. Merge it into .gitignore, one line, anywhere in the file, without disturbing what is already there.
It needs docs/build-log/README.md. If this repo does not have it, stop and tell me.
Then check it: Commit twice, then run git status. The stubs are there and the tree is clean. The pattern covers every committer’s inbox, so a second author’s file is ignored too.Reads https://ntent.app/r/f/build-log-ignore
Read the code
.gitignore · one line, anywhere in the file
2 lines
# The build-log queues are local feeds, one per committer. Drained entries get committed; stubs do not.
docs/build-log/_pending-*.mdHow to tell it works: Commit twice, then run git status. The stubs are there and the tree is clean. The pattern covers every committer’s inbox, so a second author’s file is ignored too.