Git ignore CRLF/LF changes after used dos2unix

177 views Asked by At

Hi I have a dockerized project which I tried to run using docker desktop but I got the error

env: bash\r: No such file or directory

and searching through I found the solution, using dos2unix. https://github.com/TizenTeam/dos2unix

But using it makes my project to have about 215 changed files.

enter image description here

I want to know if there is any way to tell git to ignore those kind of changes since the content didn't really changed or if there is another way to fix the bash\r error

0

There are 0 answers