I think cursor somewhy re-save files when it’s opening, or smth like that, because - project usually recompiles at start, however yesterday (before the today’s Cursor update) - it compiled and no changes were added after that.
And the most problematic problem was that in last friday (28 november) it erased ALL local changes since previous day (I was lucky to save patches in the day before that). And now I think that problem lies in Cursor IDE.
Could you please DO NOT touch files if there is no changes? and check that error when local changes were erased somewhy?
Steps to Reproduce
Just open the Cursor on the next day, or after the update (I don’t know).
Expected Behavior
local changes in the GIT project are same as yesterday, they are NOT erased.
Also NO project recompilation again.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Hey, thanks for the report. I see that when opening the IDE, files are being modified and triggering a rebuild; you also described losing local changes on November 28.
Could you please share:
A short video: launching Cursor → immediately the Source Control tab, to show which files are marked as changed without any actions
Output of commands:
In the repo root before launching the IDE: git status
Right after opening the project in Cursor: git status
List of worktrees: git worktree list
Logs and console:
View > Output > select “Git” and (if available) “Log (File Watcher)” - fragments around IDE start
Help > Toggle Developer Tools > Console - errors/warnings on opening
Does the same behavior occur in VS Code with the same repository
Which exact files get new timestamps/changes (a couple of example paths)
Temporary workaround/narrowing down the cause:
Launch without extensions and check: cursor --disable-extensions
Temporarily disable:
File > Auto Save - off
Settings: “Format On Save” - off
Enable extension monitoring: Settings > Application > Experimental > Extension Monitor Enabled, then Cmd+Shift+P / Ctrl+Shift+P → Developer: Open Extension Monitor - any save events on startup?
If it reproduces on a “clean” launch without extensions and with auto/format-save turned off - exact steps + the logs mentioned above. I’ll pass this to the team.
Sorry, don’t have so much time for now for testing.
The issue is pretty straightforward. You just open Cursor IDE, and after that, for example, in the Fork (application for git), you notice that several files without changes are unstashed and added.
For example, Visual Studio IDE does not allow itself to do this
I have the same problem. After shutting down the IDE and restarting entire files, which causes them to be saved, it doesn’t work.
A temporary solution is to clear the cursor cache.
I run the IDE in WSL2 – in my case, I delete the files from the %appdata%/cursor/CachedConfigurations and %appdata%/cursor/Cache directories.
Fortunately, in my case, this didn’t result in losing any changes.
Remember to always save your changes to the repository.