Answer the question
In order to leave comments, you need to log in
PhpStorm, when creating a new project from the finished code, marks all files as modified. How to get rid?
I am creating a new project. I specify the directory in which there are already files and repa git (via samba on the virtual machine). When trying to make a git commit, storm suggests committing ALL files 500 files! Also, all these files are displayed in the Default Changelist as changed. At the same time, when I open the diff of any, "no differences" are visible. That is, they are not actually changed.
Is there a magic check somewhere that cures this?
If I run git status in the console of the storm, it writes Changes not staged for commit:... and shows all files as changed, if I run the same in the console on a virtual machine, it says everything is ok, no one has changed any files.
What the..... ?!
Thanks
Answer the question
In order to leave comments, you need to log in
When a file's permissions change, GIT may assume that the file has changed even though its contents remain the same. To eliminate this phenomenon, you can change the config setting. For example, like this:
git config core.filemode false
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question