[BUG] creates new commit even when instructed to amend/squash

Resolved 💬 4 comments Opened Mar 30, 2026 by mikelward Closed May 15, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When iterating on something in a Claude code session, if I say to remember to amend/squash/fixup/absorb, it still happily creates a new commit for minor fixes.

What Should Happen?

When it implemented something two minutes ago in the same session then I ask for a minor change it should squash/absorb by default. Doubly so if I say to always do it during the session.

Error Messages/Logs

Steps to Reproduce

Say something like When iterating in a single session, make fixes/improvements by amending/squashing/absorbing rather than making a new commit.

Then ask it to implement something, then in a follow up prompt make a correction.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Version 1.260323.7 com.anthropic.claude

Platform

Anthropic API

Operating System

Other

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗