Last active
December 5, 2016 03:42
-
-
Save 4aficiona2/612b4c73defd7500391dbe96bda37177 to your computer and use it in GitHub Desktop.
Get rid of "fatal: CRLF would be replaced by LF in [file]"
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
// single file | |
dos2unix -f FILENAME | |
// change line endings on files recursively | |
find /core/sites/all/modules -type f -exec dos2unix {} + | |
thx https://coderwall.com/p/lc8rkg/get-rid-of-fatal-crlf-would-be-replaced-by-lf-in-file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment