Phpstorm thinks staged files are unstaged (WSL) Follow
OS: Microsoft Windows [Version 10.0.19044.1526]
git version 2.25.1
My project is located at \\wsl$\home\xxx\xxx
When i push my changes, everything is staged and pushed to the repo
But PHPStorm thinks they are still unstaged
The usual fixa I do is to resync the root folder
But it does not work, I have to manually restart my PhpStorm for it to accept my changes.
What is the fix
Please sign in to leave a comment.
Are you pushing from a terminal? Pusing/committing using PhpStorm UI would help in that case.
Yes I am pushing from a terminal because it's more convenient and faster than from the UI, especially when you have many tiny commits.
Does PhpStorm not support this while using WSL? Because with windows and Hyper-V it was working as expected
Hm, next time this happen please open Help > Find Action and run "Refresh VCS changes" action - check if that helps.
In general, this sounds not normal & should be investigated. I can't find straightforward issue reports related to this, but https://youtrack.jetbrains.com/issue/IDEA-267677 looks similar.
The "Refresh VCS changes" did the trick