{"version":"2.1.281","anchor":"git-bundle-upload-refuses-checkouts-under-a-home-directory-t","canonical_anchor":"git-bundle-upload-refuses-checkouts-under-a-home-directory-t","heading":"Git bundle upload refuses checkouts under a home directory that is itself a git checkout","tier":"notice","area":"Teleport","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/git-bundle-upload-refuses-checkouts-under-a-home-directory-t","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Git bundle upload refuses checkouts under a home directory that is itself a git checkout\n\nCloud-session git upload now refuses or hardens checkouts sitting under a home directory that is itself a git repository\n\n**What**\n\nWhen Claude Code uploads your repository to a cloud (teleport) session, it now checks whether your home directory is itself a git checkout that contains the project. This is common when dotfiles, your personal configuration files, are kept in git. In that case the upload is forced onto the hardened path or refused. The error explains that a Claude Code session started there could write the checkout's git files, or the user-level git configuration the upload would run under.\n\nNew refusal reasons include:\n\n- `home_checkout`\n\n- `settings_unreadable`\n\n- `config_in_checkout`\n\n- `partial_clone_home_checkout`\n\n- `partial_clone_config_in_checkout`\n\nThe upload is also refused when git configuration lives inside a directory your settings open to sessions. The messages point at `permissions.additionalDirectories`, `sandbox.filesystem.allowWrite`, an Edit rule or `--add-dir`, and suggest keeping a dotfiles repository bare with `--git-dir`. Failed write-tree or read-tree steps on partial clones now stop the upload early, the older git-not-on-PATH message also lists directories below such a home, and telemetry gains `below_home_checkout`.\n\n**Why**\n\nIf your home directory is a dotfiles repository, cloud-session uploads from projects inside it may now be refused. The fix the messages suggest is keeping the dotfiles repository bare with `--git-dir`, or narrowing which directories sessions can write to.\n\n- Area: Teleport\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}