Skip to content

chore: ignore .worktrees/ for in-repo git worktrees - #103

Merged
nycomp merged 1 commit into
mainfrom
chore/gitignore-worktrees
Oct 8, 2026
Merged

nycomp merged 1 commit into
mainfrom
chore/gitignore-worktrees

Conversation

@nycomp

@nycomp nycomp commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Creates .gitignore with one entry: .worktrees/ (the repo has no .gitignore yet).

Mirrors nyjc-computing/campus#862: worktrees created inside the repo checkout (the git -C <repo> worktree add .worktrees/<name> convention) otherwise show up as untracked directories in git status. Gitignore-only; no code changes.

Mirrors nyjc-computing/campus#862: the worktree convention
(git -C <repo> worktree add .worktrees/<name>) places worktrees inside
the repo checkout; without this entry every worktree shows up as
untracked noise in git status.
@nycomp
nycomp merged commit d297efe into main Oct 8, 2026
4 checks passed
@nycomp
nycomp deleted the chore/gitignore-worktrees branch October 8, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants