Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

fix: use root .gitignore instead of info/exclude for workspace cleanliness - #3

Merged
davidpoblador merged 1 commit into
mainfrom
fix/scaffolding-excludes
Feb 6, 2026
Merged

fix: use root .gitignore instead of info/exclude for workspace cleanliness#3
davidpoblador merged 1 commit into
mainfrom
fix/scaffolding-excludes

Conversation

@davidpoblador

Copy link
Copy Markdown
Member

Summary

  • .bare/info/exclude is shared across all linked worktrees, so patterns meant for the project root (.mise/, AGENTS.md, etc.) were also hiding those names inside worktrees
  • Replaces the info/exclude approach with a wildcard .gitignore at the project root, which only affects the _workspace checkout
  • Fixes .bare/ and main/ (and any dynamically-created worktree dirs) showing as untracked in git status at the project root

Test plan

  • Scaffold fresh project (no remote): git status returns clean
  • Scaffold with remote URL: git status returns clean
  • Files inside linked worktrees are visible (not hidden by shared excludes)
  • Dynamically-added worktrees don't appear as untracked at root

🤖 Generated with Claude Code

…iness

.bare/info/exclude is shared across all linked worktrees, so patterns
meant to hide project-root files (like .mise/, AGENTS.md) were also
hiding those names inside worktrees. A wildcard .gitignore at the project
root only affects the _workspace checkout and keeps git status clean
without side effects on linked worktrees.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@davidpoblador
davidpoblador merged commit c94200f into main Feb 6, 2026
@davidpoblador
davidpoblador deleted the fix/scaffolding-excludes branch February 6, 2026 12:05
@github-actions github-actions Bot mentioned this pull request Feb 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant