{"name":"core.alternateRefsCommand","slug":"core-alternaterefscommand","family":"setting","title":"Settings keys","noun":"settings key","description":"Claude Code's git safety overrides now add `core.alternateRefsCommand` in some cases, and the list is assembled differently","description_source":"entry","described_by":{"version":"2.1.315","anchor":"git-config-adds-corealternaterefscommand-conditionally"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.315","builds":0,"mined_builds":155,"first_cited":{"version":"2.1.315","released_at":"2026-10-30 21:05:24","spans":1}},"aliases":[],"entries":[{"version":"2.1.315","anchor":"git-config-adds-corealternaterefscommand-conditionally","heading":"Git safety overrides can now also set core.alternateRefsCommand","line":"Claude Code's git safety overrides now add `core.alternateRefsCommand` in some cases, and the list is assembled differently","released_at":"2026-10-30 21:05:24","reason":"named in this entry, found in this entry's text"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"core.askPass","slug":"core-askpass","description":"Every git command Claude runs now has hooks, filesystem monitors and prompt helpers turned off."},{"name":"core.fsmonitor","slug":"core-fsmonitor","description":"Stray git environment variables in your shell can no longer misdirect worktree operations."},{"name":"core.sparseCheckout","slug":"core-sparsecheckout","description":"Worktree sync now writes the complete tree in repositories using sparse checkout."},{"name":"core.sshCommand","slug":"core-sshcommand","description":"Git commands Claude runs can't prompt you for credentials or trust unknown SSH hosts anymore."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/core-alternaterefscommand","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}