{"version":"2.1.239","anchor":"claude-code-dir-sync-git-selects-a-git-based-engine-for-clou","canonical_anchor":"claude-code-dir-sync-git-selects-a-git-based-engine-for-clou","heading":"CLAUDE_CODE_DIR_SYNC_GIT selects a git-based engine for cloud file sync","tier":"use","area":"Directory Sync","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.239\/e\/claude-code-dir-sync-git-selects-a-git-based-engine-for-clou","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.239","markdown":"### `CLAUDE_CODE_DIR_SYNC_GIT` selects a git-based engine for cloud file sync\n\nYou can set CLAUDE_CODE_DIR_SYNC_GIT to pick a git-based engine for syncing your directory to a cloud session.\n\n**What**\n\nSetting this environment variable now decides which engine syncs your directory to a cloud session worker, and the worker logs that the switch is on when it takes effect. Without it, the previous engine selection applies unchanged.\n\n**Details**\n\n- The engine actually chosen, and the reason when it ends up as none, are both reported in cloud-session telemetry.\n\n**Evidence**\n\n`dir_sync_worker_git_switch_on`\n\n- Area: Directory Sync\n- Names: `CLAUDE_CODE_DIR_SYNC_GIT`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 4\/5"}