Created
August 20, 2013 17:34
-
-
Save benbowler/6284613 to your computer and use it in GitHub Desktop.
Fix line breaks for git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f -exec grep -qIP '\r\n' {} ';' -exec perl -pi -e 's/\r\n/\n/g' {} '+' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment