Reputation: 864
In my PHPStorm project, I renamed some files using Refactor > Rename
. However, now when I make changes to the files PHPStorm does not immediately see the changes, and thus does not upload the newly modified files to my server. The project is tracked using a local git repository, and uploads automatically after a commit.
If I open up the GitHub Windows application, I can see the modified files. What's interesting is after opening up the GitHub app, PHPStorm will tell me the files have been renamed, but the rename happened many commits ago!
The modified files do show up dark blue on the project explorer, and the files in question are not in my .gitignore
.
Upvotes: 0
Views: 1594
Reputation: 321
It is safer to rename/move files by git rather than by PHPStorm or other IDE
'git mv' <options>... <args>...
http://git-scm.com/docs/git-mv
Upvotes: 1
Reputation: 864
Turns out this is a known bug when renaming a file with only a letter case change: http://youtrack.jetbrains.com/issue/IDEA-53175
Upvotes: 1