ignore .worktrees as a "special folder" (#35835)

following the approach from nixpkgs that ignore the .worktrees folder,
we could also do the same, this would allow worktrees to be worked on in
the same folder as the primary branch.

ref:
b6420c7bca
This commit is contained in:
techknowlogick 2025-11-03 14:57:30 -05:00 committed by GitHub
parent 17a6a2bab1
commit aa7ec64a54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

3
.gitignore vendored
View File

@ -124,3 +124,6 @@ prime/
/AGENT.md
/CLAUDE.md
/llms.txt
# Ignore worktrees when working on multiple branches
.worktrees/