Adds two helper scripts under scripts/ to run Claude Code in an isolated git worktree of the homelab repo.
claude-start.sh <name> [base-branch] [-- <claude args>] — creates (or reuses) a sibling worktree at ../homelab-<name> on a new branch off master, then exec claude inside it. Args after -- pass through to claude.
claude-stop.sh <name> [--force] [--delete-branch] — removes the worktree (refuses on uncommitted changes unless --force) and prunes; optional branch deletion.
Both derive the main repo from git --git-common-dir, so they work from the main checkout or any worktree. Verified end-to-end (create -> launch -> teardown).
Generated with Claude Code
Adds two helper scripts under `scripts/` to run Claude Code in an isolated git worktree of the homelab repo.
- **`claude-start.sh <name> [base-branch] [-- <claude args>]`** — creates (or reuses) a sibling worktree at `../homelab-<name>` on a new branch off `master`, then `exec claude` inside it. Args after `--` pass through to claude.
- **`claude-stop.sh <name> [--force] [--delete-branch]`** — removes the worktree (refuses on uncommitted changes unless `--force`) and prunes; optional branch deletion.
Both derive the main repo from `git --git-common-dir`, so they work from the main checkout or any worktree. Verified end-to-end (create -> launch -> teardown).
Generated with Claude Code
claude-start.sh creates (or reuses) a sibling git worktree at
../homelab-<name> on a new branch off master and launches claude in it.
claude-stop.sh tears the worktree down, refusing on uncommitted changes
unless --force, with optional --delete-branch.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds two helper scripts under
scripts/to run Claude Code in an isolated git worktree of the homelab repo.claude-start.sh <name> [base-branch] [-- <claude args>]— creates (or reuses) a sibling worktree at../homelab-<name>on a new branch offmaster, thenexec claudeinside it. Args after--pass through to claude.claude-stop.sh <name> [--force] [--delete-branch]— removes the worktree (refuses on uncommitted changes unless--force) and prunes; optional branch deletion.Both derive the main repo from
git --git-common-dir, so they work from the main checkout or any worktree. Verified end-to-end (create -> launch -> teardown).Generated with Claude Code