docs: clarify multi-worktree index scope workflow#12
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 634cbe0238
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| sia-code index . | ||
|
|
||
| # create feature worktree | ||
| git worktree add ../feat-auth feat/auth |
There was a problem hiding this comment.
Add branch-creation flag to worktree example
The workflow command git worktree add ../feat-auth feat/auth will fail for users who are creating a new feature branch, because feat/auth is treated as an existing <commit-ish> unless -b/-B is provided. git worktree add -h documents this as git worktree add ... [(-b | -B) <new-branch>] <path> [<commit-ish>] and explicitly says -b <branch> create a new branch, so the current example is not copy-paste safe in the common “new branch” scenario.
Useful? React with 👍 / 👎.
Summary
README.mdwith scope resolution order and practical workflow steps.docs/INDEXING.md, including writer/read concurrency guidance.docs/LLM_CLI_INTEGRATION.mdwith setup recommendations for multiple Claude Code instances.Verification
*.mdfiles (OK).🤖 Generated with Claude Code