Answer the question
In order to leave comments, you need to log in
Does Git think all files have changed?
On Windows, .git was initialized for the project, commits were added, and all this was successfully pushed to the hub.
I switched to Ubuntu, decided to make changes and commit, as I noticed the following:
all files with the status "changed"
and if you look at the detailed changes (git diff), then absolutely all lines are changed to the same
Answer the question
In order to leave comments, you need to log in
git config --global core.autocrlf true
fixed everything .
But still I am waiting for comments from those who have encountered this: will there be other problems due to changing this parameter?
Windows CRLF, Linux LF > https://git-scm.com/book/en/v1/%D0%9D%D0%B0%D1%81%...
Section Formatting-and-space-characters
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question