Answer the question
In order to leave comments, you need to log in
About .gitattributes and line-endings
Greetings!
Lord, I'm confused.
After reading articles about Orthodox work with line breaks in the cross-platform, I rushed to change them. Everything seems to be clear, but there are circumstances.
I made a .gitattributes file,
- I put it there * text=auto
,
- I have the installation on my windows machine core.autocrlf = true
- I have the installation on the *nix build machine - I core.autocrlf = input
normalized the lines on the dev machine (
git rm --cached -r . && git reset --hard && git add . && git commit -m "normalized" && git push develop origin/develop
) git rm --cached -r . && git reset --hard
I get all the files changed. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question