Skip to content

Commit 685cfc4

Browse files
committed
docs: note git worktree quirk for gh CLI in CLAUDE.md
1 parent d062450 commit 685cfc4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ Follow existing `#[packet(...)]` macro patterns in `ferrumc-net`.
120120
- Tokio for async I/O (networking runs on a separate single-threaded Tokio runtime).
121121
- crossbeam channels for thread-to-ECS communication (new connections, etc.).
122122

123+
## Git Worktrees
124+
125+
This repo uses git worktrees. `gh pr create` cannot auto-detect the current branch in a worktree — always pass `--head <branch-name>` explicitly.
126+
123127
## Branch Naming
124128

125129
- `feature/feature-name`, `fix/fixed-thing`, `rework/refactored-thing`, `housekeeping`, `docs`

0 commit comments

Comments
 (0)