Warning not all local changes may be shown due to an error
git
Solution
try to perform `git reset` in git console
Problem
I'm using `Git` with `PhpStorm`. When I try to commit code I get the following message: Warning: not all local changes may be shown due to an error: The string 'HEAD' does not represent a revision number.