-
Notifications
You must be signed in to change notification settings - Fork 1
chore(worktree): put worktrees under .claude and carry the overrides into them #194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
dd92a1a
chore(worktree): put worktrees under .claude and carry the overrides …
anilcancakir 0e52582
docs(worktree): record that git clean now reaches a live worktree
anilcancakir 69cc569
fix(worktree): git clean -xdf skips a worktree, only -xdff does not
anilcancakir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Gitignored files copied into every worktree Claude Code creates, for `--worktree`, | ||
| # for `EnterWorktree`, and for a subagent with `isolation: worktree`. | ||
| # | ||
| # A worktree is a fresh checkout, so `pubspec_overrides.yaml` is absent from it, and | ||
| # its absence fails silently rather than loudly: the siblings resolve from pub.dev | ||
| # instead of the working trees beside this one, `flutter pub get` succeeds, and the | ||
| # suite then passes against the PUBLISHED packages while the diff under review is of | ||
| # the local ones. An unreleased sibling API is where that bites. | ||
| # | ||
| # `.gitignore` syntax, and only files that match AND are gitignored are copied, so a | ||
| # tracked file can never be duplicated by this list. | ||
| # | ||
| # The paths inside `pubspec_overrides.yaml` have to be ABSOLUTE for this to work. | ||
| # Worktrees live under `.claude/worktrees/<slug>`, so a relative `../magic` resolves | ||
| # to `.claude/worktrees/magic`, which does not exist, and version solving fails on | ||
| # the first path dependency. | ||
| # | ||
| # NOT processed when a WorktreeCreate hook replaces the default git logic; such a | ||
| # hook has to copy these itself. | ||
|
|
||
| pubspec_overrides.yaml | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.