Hey, I recently updated from PHPstorm 9 to the latest one and it seems to have messed with my local Git repo.
I'm really noob with Git so I have no clue what's actually happening here, but it seems to me like the .git repo got corrupted somehow?
I get the following error in the console when I try to commit changes to 41 files:
0 files committed, 41 files failed to commit: Created API system pathspec 'ThisIsANewDeletedFile.php' did not match any files
On branch master
Changes not staged for commit:
no changes added to commit
There are items listed under Untracked files that I would like to add to the version control but the Git->Add option is greyed out. If I click on commit, the Commit Changes window opens up but the Commit button is greyed out and there's a red text "Warning: not all local changes may be shown due to an error: Not a git repository (or any of the parent directories): .git.
The .git directory does exist and none of the files in it are empty or seem corrupted to my eye, unlike one time when the index file was emptied. Now it might be corrupted in a different way.
Does anyone have a clue how I could fix this?