chore: add a .gitignore that ignores worktree directories - #80
Merged
Conversation
This repo had no .gitignore at all, so a worktree created here reported the tree dirty — which is how it surfaced during a workspace cleanup. Two conventions are in use across the estate (.worktrees/ for developer worktrees, .claude/worktrees/ for agent ones); ignoring both is what the already-quiet repos do. .DS_Store rides along since macOS is the only development platform here. A permanently-dirty tree is corrosive out of proportion to its size: it trains you to skip git status, and it makes /cleanup's pristine pass flag the repo every run — so the once it flags something real, it reads as the usual noise.
|
Claude finished @jaryl's task in 46s —— View job Code Review
Summary: Small, well-scoped What I checked:
Nit (optional, not blocking): The comment block explaining the dual Matches the stated goal of eliminating the always-dirty tree noise this repo was producing. LGTM. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This repo had no
.gitignoreat all, so any worktree created here reports the tree dirty — which is how it surfaced during a workspace cleanup.Two conventions are in use across the estate —
.worktrees/for developer worktrees and.claude/worktrees/for agent ones — and the repos that were already quiet ignore both..DS_Storerides along since macOS is the only development platform here.Matches the same fix just landed in rarebit-one/jumpdrive-runner#64, rarebit-one/jumpdrive-static#66, rarebit-one/rarebit-static-v3#323 and rarebit-one/nutripod-web#1125.
Cosmetic in isolation, but a permanently-dirty tree is corrosive out of proportion to its size: it trains you to stop reading
git status, and it makes/cleanup's pristine pass flag this repo every single run — so the one time it flags something real, it reads as the usual noise.