{"version":"2.1.330","anchor":"gitcommit-prompt-sections-trimmed-when-a-flag-like-check-is","canonical_anchor":"gitcommit-prompt-sections-trimmed-when-a-flag-like-check-is","heading":"Git instructions given to Claude can now be shortened","tier":"notice","area":"Agents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/gitcommit-prompt-sections-trimmed-when-a-flag-like-check-is","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Git instructions given to Claude can now be shortened\n\nIn a lean mode, Claude's built-in git instructions leave out the GitHub CLI and attribution text and use a short commit section\n\n**Unclear.** When the shortened git instructions are used instead of the full ones is not clear.\n\n**What**\n\nClaude Code gives the model built-in instructions about using git. These can now be built in a shorter form. In that form:\n\n- The line about the GitHub command-line tool `gh` is left out\n\n- The text about attribution, such as crediting Claude in commits, is left out\n\n- The section on making commits is cut down to a short version\n\nSome of the Git Safety points have also been put in a different order.\n\n**Why**\n\nThis changes the instructions the model receives in some setups, which can change how Claude goes about commits and pull requests.\n\n- Area: Agents\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}