[Bug] Claude Code amends previous commit without user confirmation

Status Fixed / completed
Reported on v2.1.20
Maintainer reply None cached
Activity 2 comments · opened Jan 28, 2026 · closed Jan 28, 2026

Bug Description
I made some changes and used commit this to make a commit. I did NOT push the commit, I never let Claude Code do git commit/push automatically. Then I made another change and Claude Code amended the previous commit without asking. This is clearly unacceptable behaviour.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.20
  • Feedback ID: 397bc29c-9ac5-4463-945a-39cf00062bd5

View original on GitHub ↗

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