Answer the question
In order to leave comments, you need to log in
Why does git think the file is completely changed?
2 people are working on the project, one in phpStorm the other in Notepad++
after saving the file in phpStorm if you start editing the file in notepad++ git thinks that the whole file has been changed, what could it be?
encoding in phpStorm UTF-8 in notpad++ UTF-8 without BOM
UPD: it helped to register everyone in .gitconfig
autocrlf = true
safecrlf = true
Answer the question
In order to leave comments, you need to log in
Spaces are used for indentation in storm, tabs are used in notepad++. Or vice versa, or both. In general, pay attention to the indents)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question