V
V
Vitaly Stolyarov2017-03-14 00:32:12
git
Vitaly Stolyarov, 2017-03-14 00:32:12

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

3 answer(s)
V
Vitaly Stolyarov, 2017-03-14
@Ni55aN

git config --global core.autocrlf truefixed everything .
But still I am waiting for comments from those who have encountered this: will there be other problems due to changing this parameter?

T
tagplus5, 2017-03-14
@tagplus5

Windows CRLF, Linux LF > https://git-scm.com/book/en/v1/%D0%9D%D0%B0%D1%81%...
Section Formatting-and-space-characters

S
sim3x, 2017-03-14
@sim3x

https://help.github.com/articles/dealing-with-line...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question