Answer the question
In order to leave comments, you need to log in
How can I change the ending of all files in a project from lf to crlf in Windows?
Good afternoon.
I'm working under Windows, so far the end-of-file check in git has been turned off. But, I decided to include it, so it's more correct.
And now I can’t upload the project to github, I need to change the line endings.
There is notepad++, but it can only be changed in the current file.
How can the problem be solved for the entire project?
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
You can massively recode in the terminal with this nonsense, for example: https://pypi.org/project/eol/
There is a similar one in JavaScript: https://www.npmjs.com/package/crlf
Git has an option to accept any line endings, but commit LF (in my opinion, this is the default in new versions, or I came across such a distribution). Gets rid of fuss.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question