4 ms·
Weird, the windows git client defaults to "checkout windows line endings, commit unix line endings" or something to that effect. I do a lot of data analysis an
by dcosson 15y ago
Weird, the windows git client defaults to "checkout windows line endings, commit unix line endings" or something to that effect. I do a lot of data analysis and end up transferring text files manually and having to worry about carriage returns all the time, but I've never had that problem with git. There's an easy command line utility called flip [1] that makes dealing with line endings pretty simple. But yes, it is a ridiculous thing to have to worry about.
[1] https://ccrma.stanford.edu/~craig/utility/flip/flip.cpp https://ccrma.stanford.edu/~craig/utility/flip/flip.cpp