{"version":"2.1.282","anchor":"cloud-git-sync-now-serves-linked-git-worktrees-on-macos-and","canonical_anchor":"cloud-git-sync-now-serves-linked-git-worktrees-on-macos-and","heading":"Cloud sessions can now start from a git worktree on macOS and Linux","tier":"notice","area":"Cloud Sessions","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.282\/e\/cloud-git-sync-now-serves-linked-git-worktrees-on-macos-and","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.282","markdown":"### Cloud sessions can now start from a git worktree on macOS and Linux\n\nStarting a cloud session from a linked git worktree now works on macOS and Linux instead of being refused\n\n**Unclear.** Whether linked worktrees already worked for some users before this release is not known.\n\n**What**\n\nA linked worktree is an extra checkout of a repository made with `git worktree add`. When a cloud session is started from a local repository, Claude Code used to refuse linked worktrees unless an internal switch allowed them. It now accepts them on macOS and Linux and refuses them only on other platforms.\n\nTwo further checks come with this:\n\n- the sync is refused if a settings file's `env` sets git directory variables\n\n- while preparing what to send, Claude Code re-reads the repository's shared git folder and gives up if it changed or was tampered with\n\n**Why**\n\nIf you start cloud sessions from a `git worktree` checkout on a Mac or Linux machine, you should no longer be turned away. The new checks keep a changed or redirected git setup from being sent.\n\n- Area: Cloud Sessions\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 2\/5"}