gitignore: add .claude/worktrees/ - #355
Open
Dahhrk wants to merge 1 commit into
Open
Conversation
…ng committed The .gitignore already covers .claude/settings.local.json and .claude/agents/ but not .claude/worktrees/, which means agent worktree directories become committable clutter. Add the missing ignore entry. Fixes sandbox-quantum#332 Co-authored-by: Dark <Dahhrk@users.noreply.github.com>
|
Thank you for your contribution! Before we can merge it, please read our Contributor License Agreement and sign it by posting the following comment on this pull request: Contributing on behalf of a company? Your employer can sign the Corporate CLA instead: complete the PDF with your authorized GitHub usernames, have an authorized representative sign it, and email it to legal@sandboxquantum.com. Once we record it, your contributions are recognized as covered — see CONTRIBUTING.md. I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
amaudruz
marked this pull request as ready for review
September 3, 2026 14:10
amaudruz
requested review from
amaudruz and
christian-mcdermott
as code owners
September 3, 2026 14:10
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.
Summary
Add
.claude/worktrees/to.gitignoreso that agent worktree directories are not committable.The
.gitignorealready covers.claude/settings.local.jsonand.claude/agents/but not.claude/worktrees/, which means agent worktree directories show up as untracked files and can be accidentally committed.Change
One line added to
.gitignore:Verification
git check-ignore -q .claude/worktrees/→ exit 0 (ignored)git check-ignore -q .claude/worktrees/somefile→ exit 0 (files inside ignored)git ls-files .claude→ empty (no tracked files under.claude/)Fixes #332