# Auto-Accept on Commit does not Work

**URL:** <https://forum.cursor.com/t/auto-accept-on-commit-does-not-work/151088>\
**Category:** Bug Reports\
**Tags:** review\
**Created:** [February 6, 2026, 5:45pm UTC](https://forum.cursor.com/t/auto-accept-on-commit-does-not-work/151088 "2026-02-06T17:45:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leland\_Hepworth](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Leland\_Hepworth](https://forum.cursor.com/u/Leland_Hepworth)\
**Post date:** [February 6, 2026, 5:45pm UTC](https://forum.cursor.com/t/auto-accept-on-commit-does-not-work/151088/1 "2026-02-06T17:45:40Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

This has been reported before. All these bug reports have been closed 22 days after the last reply without resolving the issue:

> [@Accept on commit doesn't work](https://forum.cursor.com/t/accept-on-commit-doesnt-work/132276):
>
> Where does the bug appear (feature/product)? Cursor IDE Describe the Bug I have this feature turned on but when I commit files, they are still not auto-accepted. Steps to Reproduce I just committed a file with changes and it didn’t clear them. I could still accept and nothing changed in the file (commit was correct) Expected Behavior As designed Operating System MacOS Current Cursor Version (Menu → About Cursor → Copy) Version: 1.5.7 (Universal) VSCode Version: 1.99.3 Commit: 6aa7b3af0d57…

> [@Auto-Accept on Commit is broken](https://forum.cursor.com/t/auto-accept-on-commit-is-broken/146195):
>
> Where does the bug appear (feature/product)? Cursor IDE Describe the Bug I have turned on the “Auto-Accept on Commit” setting. It never works. I always have to manually accept changes after committing. Sometimes changes remain in the review mode without any indication and I find out only after reopening the file. Steps to Reproduce Make several rounds of changes in the agent mode. Commit your changes. Check the updated files to see if the changes were accepted. Expected Behavior It should au…

> [@Auto-Accept on Commit setting has not been working and it is SUPER annoying. Also files changed forever ago still have pending changes all over the place](https://forum.cursor.com/t/auto-accept-on-commit-setting-has-not-been-working-and-it-is-super-annoying-also-files-changed-forever-ago-still-have-pending-changes-all-over-the-place/146121/):
>
> Where does the bug appear (feature/product)? Cursor IDE Describe the Bug I frequently just commit changes made by cursor, making the auto accept feature very helpful Only it hasn’t been working in weeks and is getting very annoying. I don’t know if this is related to the [new review changes](https://forum.cursor.com/t/i-despise-the-new-review-workflow/145687/7) or what but it is quite annoying. On top of that, I open files I haven’t edited in days even and there are pending/change diffs all over it with no way to accept them all I even though I have no c…

To summarize, there is a setting to Auto-Accept agent edits on Commit (see screenshot). However, this does not actually work, requiring the user to manually accept/undo individual agent edits, or press the keep all button when relevant.

### Steps to Reproduce

1. Verify that the setting “Auto-Accept on Commit” is enabled.
2. Instruct an agent to edit a file.
3. Commit the changes in the git repository found in the Primary Side Bar.

### Expected Behavior

“Automatically accept all changes when files are committed and no longer in the worktree”

### Screenshots / Screen Recordings

![Screenshot 2026-02-06 100932.png](https://us1.discourse-cdn.com/cursor1/original/3X/d/2/d29b0fde791702e7eb1bca6294704ee985f4c26d.png)

### Operating System

Windows 10/11

### Version Information

Version: 2.4.28 (system setup)  
VSCode Version: 1.105.1  
Commit: f3f5cec40024283013878b50c4f9be4002e0b580  
Date: 2026-02-03T00:56:18.293Z  
Build Type: Stable  
Release Track: Default  
Electron: 39.2.7  
Chromium: 142.0.7444.235  
Node.js: 22.21.1  
V8: 14.2.231.21-electron.0  
OS: Windows\_NT x64 10.0.26100

### Additional Information

Alternatively, it would be good for there to be a setting that could optionally turn off the tracking, accepting, and undoing of agent edits from the chat panel or file editor. At least for my workflow, interacting with the git diff, committing files to “accept” the changes, and discarding changes when I want to “undo” them is the better way to monitor agent edits.

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [February 7, 2026, 3:39pm UTC](https://forum.cursor.com/t/auto-accept-on-commit-does-not-work/151088/3 "2026-02-07T15:39:06Z")

</div>

Hey, thanks for the report and for the links to the previous threads.

I can see the screenshot with the setting, it’s enabled correctly. The team is aware of this issue. We fixed some cases in 2.4, but it looks like not all of them.

Can you check the Developer Console (Help \> Toggle Developer Tools) after the commit and send any errors you see? In similar reports we often saw something like:

```txt
[composer] Error getting commits for auto-accept: Error: Error fetching commit details...

```

That’ll help us figure out if this is the same bug or a variation.

---

<div class="post-metadata">

**Author:** ![Leland\_Hepworth](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@Leland\_Hepworth](https://forum.cursor.com/u/Leland_Hepworth)\
**Post date:** [February 14, 2026, 12:10am UTC](https://forum.cursor.com/t/auto-accept-on-commit-does-not-work/151088/4 "2026-02-14T00:10:22Z")

</div>

@deanrie sorry I didn’t follow up on your reply. That one slipped through the cracks.

It looks like this issue might now be fixed in the most recent update:

Version: 2.4.36 (system setup)  
VSCode Version: 1.105.1  
Commit: f9919bf991f247689f9ead605b5c5a3239a2a790  
Date: 2026-02-12T21:00:33.976Z  
Build Type: Stable  
Release Track: Default  
Electron: 39.2.7  
Chromium: 142.0.7444.235  
Node.js: 22.21.1  
V8: 14.2.231.21-electron.0  
OS: Windows\_NT x64 10.0.26100

I observed that the review section disappears entirely when that setting is enabled and you commit to the repository. With the setting disabled, nothing happens. I didn’t test any edge cases, like when some changes were manually undone or edited or selectively not included in the commit. But at least for the most common case where the changes are being committed after the chat finishes output without needing any modifications, this appears to be working now.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [March 8, 2026, 12:11am UTC](https://forum.cursor.com/t/auto-accept-on-commit-does-not-work/151088/6 "2026-03-08T00:11:20Z")

</div>

Closed on March 8, 2026, 12:11am UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
