gitphpstormgit-untrackedphpstorm-2018.1

PhpStorm incorrectly showing files as unversioned in Git


In a project I have that is under Git PhpStorm is showing a bunch of files that it states are "unversioned", however Git disagrees.

Running:

git ls-files . --exclude-standard --others

...from the Terminal shows nothing.

PhpStorm version 2018.1.6

Did PhpStorm get confused somehow or what is the problem here?


Solution

  • Ok, it seems I had previously set this project to using the SubVersion VCS.

    I fixed this by:

    After I had done this it started working correctly.