Search the documentation
2 pages for claude_runner_fetch_depth.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Deploy self-hosted environments to production
Claude Code CLI · in the page
self-hosted-environments-deploy
…ull pre-warm keeps its full history and a shallow one stays shallow. `CLAUDE_RUNNER_FETCH_DEPTH` (`full`, `0`, or a number; default 50) controls only the cold clone the runner makes when no clone exis…
Self-hosted environments reference
Claude Code CLI · in the page
self-hosted-environments-reference
…| | `CLAUDE_RUNNER_FETCH_DEPTH` | `50` | Git fetch depth for fresh clones. Set a positive integer, or `full` or `…