--ref
Specifies a Git reference branch to check out when provisioning an environment session.
Syntax
--ref <branch>Example
Terminal
claude -p "Run the smoke test" --environment ccpool_abc123 --ref mainProgress will not be saved. This browser is blocking storage (often private browsing). You can still learn, but closing the tab loses your progress.
--refSpecifies a Git reference branch to check out when provisioning an environment session.
--ref <branch>claude -p "Run the smoke test" --environment ccpool_abc123 --ref main