mirror of
https://github.com/hathach/tinyusb.git
synced 2026-05-20 20:35:26 +00:00
`git worktree add <path> <branch>` fails if <branch> is already checked out elsewhere (main repo, another worktree). --detach checks out the ref at a detached HEAD instead of claiming the branch, making the script work regardless of what is currently checked out. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>