Skip to content

Add .claude/worktrees/ to gitignore#9481

Merged
captainsafia merged 1 commit intowarpdotdev:masterfrom
sebryu:sebryu/gitignore-claude-worktrees
Apr 30, 2026
Merged

Add .claude/worktrees/ to gitignore#9481
captainsafia merged 1 commit intowarpdotdev:masterfrom
sebryu:sebryu/gitignore-claude-worktrees

Conversation

@sebryu
Copy link
Copy Markdown
Contributor

@sebryu sebryu commented Apr 29, 2026

Summary

  • Ignore .claude/worktrees/ so Claude Code worktrees created under .claude/ aren't surfaced as untracked files.

Test plan

  • git status no longer shows .claude/worktrees/ entries when a worktree exists there.

@cla-bot cla-bot Bot added the cla-signed label Apr 29, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented Apr 29, 2026

@sebryu

I'm starting a first review of this pull request.

I reviewed this pull request and requested human review from: @zachbai. I left feedback as a comment so a maintainer can approve.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR updates .gitignore to ignore Claude Code worktrees created under .claude/worktrees/, preventing those local worktree directories from appearing as untracked files.

Concerns

  • No blocking correctness or security concerns found in the inlined diff.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@oz-for-oss oz-for-oss Bot requested a review from zachbai April 29, 2026 20:16
@zachbai
Copy link
Copy Markdown
Contributor

zachbai commented Apr 29, 2026

Nice, thanks

@captainsafia captainsafia merged commit 3d17fc0 into warpdotdev:master Apr 30, 2026
34 checks passed
@captainsafia captainsafia added the external-contributor Indicates that a PR has been opened by someone outside the Warp team. label Apr 30, 2026 — with Warp Dev Github Integration
zerx-lab pushed a commit to zerx-lab/warp that referenced this pull request May 3, 2026
## Summary
- Ignore `.claude/worktrees/` so Claude Code worktrees created under
`.claude/` aren't surfaced as untracked files.

## Test plan
- [x] `git status` no longer shows `.claude/worktrees/` entries when a
worktree exists there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed external-contributor Indicates that a PR has been opened by someone outside the Warp team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants