Skip to content
BENIBIX Learn

includeGitInstructions

AI⌨️ Claude CodeConfiguration

Also known as includeGitInstructions setting

The key that can leave out Claude Code's own git help.

Think of it like

It is like a cheat sheet taped to the desk. You can take it down if you have your own.

Example

Emma's team has its own commit skill with strict rules. They set includeGitInstructions to false, so the two do not fight.

Why it matters

Two sets of git rules can pull Claude in different ways.

Definition

includeGitInstructions is a settings key that decides if Claude gets two pieces of git help. One is Claude Code's own steps for writing commits and pull requests. The other is a snapshot of the repo, with the branch and git status. The default is true. Set it to false to leave both out, for example when you use your own git skills.

Example code

json
{
  "includeGitInstructions": false
}
Leave out the built-in git steps and snapshot.

Common mistake

Thinking false stops Claude from using git. It only drops the built-in notes, and git still works.

Key takeaways

  1. 1
    Two git notes. Steps and snapshot.
  2. 2
    On by default. true.
  3. 3
    False drops both. Git still works.