Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

core.hooksPath

setting never mined JSON

A Claude Code settings key, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.

Stray git environment variables in your shell can no longer misdirect worktree operations.

Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.222.

First seen — never in a mined build
Last seen — never in a mined build
Builds0 / 175on this box, as of v2.1.336
Written about v2.1.247 first named in a changelog, 26 Aug 2026

In the changelogs

6

Releases whose published page names core.hooksPath.

  1. v2.1.333
    git diff now takes its safety settings from the shared list

    git diff no longer carries its own inline hooks and file-monitor overrides and now uses the shared settings; core.askPass is still emptied

    named in this entry, found in this entry's text

  2. v2.1.290
    Shorter warning when git is run with hooks or include paths on the command line

    The permission warning for git commands that set core.hooksPath or an include path on the command line is now shorter

    found in this entry's text

  3. v2.1.281
    Git config filter can drop core.hooksPath

    A new helper can remove the core.hooksPath setting from a git configuration list in Claude Code's git and worktree support

    found in this entry's text

  4. v2.1.280
    Self-hosted runner: session-scoped git config for lifecycle hooks

    Self-hosted runner sessions now get their own git config so lifecycle hooks use separate signing and protocol rules from the main checkout

    found in this entry's text

  5. v2.1.280
    --configure-git hooksPath override simplified

    The internal helper that sets git's core.hooksPath for --configure-git sessions was simplified, dropping symlink resolution

    found in this entry's text

  6. v2.1.247
    Every git command now runs with hooks, filesystem monitors and prompt helpers disabled

    Every git command Claude runs now has hooks, filesystem monitors and prompt helpers turned off.

    found in this entry's text

First cited

4

The earliest release whose published evidence quoted core.hooksPath was v2.1.222, 4 Aug 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.

ReleaseDateThe span that was quoted
v2.1.2224 Aug 2026core.hooksPath=/dev/null
v2.1.28022 Sep 2026core.hooksPath
v2.1.28123 Sep 2026return t ? n.filter(([r]) => r !== "core.hooksPath") : n;
v2.1.2905 Oct 2026it runs git with core.hooksPath set on the command line

Presence across releases

0

The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.

Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.

Feedback