When I delete a file and replace it with another file with the same name in PhpStorm (98.191 EAP) I do not get the expected behavior: after commit the added files are deleted!
When I manually use git I get the expected behavior: commit is done and new file is seen as a change to the old one. After this manual commit and syncing PhpStorm still tries to do a commit to delete the file. This is only fixed after I restart PhpStorm.
Could you please let me know if this behavior is intentional and if it is how one would go about replacing a file in PhpStorm under Git version control.