Every time I open Cursor, various files are in modified status in git with old changes. I have to revert them to get back to my clean branch checkout with no changes.
Steps to Reproduce
Open Cursor on a project that has git tracking.
Expected Behavior
No files should have changes since they didn’t when Cursor was closed.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Open files marked as changed and, in the Review banner, click Keep/Accept for all related Agent edits. Also check older Agent chats: Review → Accept all changes.
Start without extensions: cursor --disable-extensions
Temporarily disable Auto Save and Format On Save, then see if it reproduces.
To help us capture your case precisely, please share:
A couple of example file paths and a git diff screenshot
Whether these are files previously edited by the Agent
git status before launch and right after opening the project
Logs: View > Output > Git and Log (File Watcher), and Help > Toggle Developer Tools > Console
I’ll link your thread to the current issue. Thanks, and let me know if any workaround helps.