I\'ve got a Git repository that has some files with DOS format (\\r\\n
line endings). I would like to just run the files through dos2unix
(which wo
For the continuing solution, have a look at the core.autocrlf (and core.safecrlf) config parameters.
Doing this once to your whole repository will just create one commit that's pretty impossible to merge with (since every line in those files will be modified), but once you get past it, it should be no big deal. (Yes, you could use git filter-branch
to make the modification all the way through history, but that's a bit scary.)