snippet

Keep the queue out of git

Tier 4engineering

The build log writing into a file git tracks, so every commit leaves a new change behind and the repo never looks clean.

Add to your project
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/_pending.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.

Reads https://ntent.app/r/f/build-log-ignore

Read the code
.gitignore · one line, anywhere in the file
2 lines
# The build-log queue is a local feed. Drained entries get committed; stubs do not.
docs/build-log/_pending.md

Success check: Commit twice, then run git status. The stubs are there and the tree is clean.

Included in