Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Looking up git's global ignore file no longer reads system or included config

Claude Code finds your git global ignore file without reading system git config or included config files

Under the hood No documentation found Internal Changes
JSON All of v2.1.331
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
GitArea: what it touches
Internal ChangesKind: in v2.1.331,
Internal ChangesSection of the release

Unclear Whether Claude Code still reads your own global git config this way is not known.

What

Git can use one ignore file for every repository, set by core.excludesfile. It lists files git should leave untracked. Claude Code looks this setting up, and it now runs git in a sealed-off way to do so:

  • GIT_CONFIG_NOSYSTEM=1, so the system-wide git config is not read
  • --no-includes, so config files pulled in by an include line are not read
  • --git-dir=/dev/null, so no repository is used

Before, it ran git config --global --get core.excludesfile.

Why

If your core.excludesfile is set in the system git config or in a file your config includes, Claude Code may no longer pick it up. Setting it directly in your own global git config avoids this.

Read from
Names in the bundlecore.excludesfile
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhether Claude Code still reads your own global git config this way is not known.

See this entry in the whole of v2.1.331 →

Feedback