Created
February 28, 2017 04:57
-
-
Save ctaggart/469a3b9fb0113a2cc367fa347644a3b7 to your computer and use it in GitHub Desktop.
test git line endings
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
git config --global --unset core.autocrlf | |
git config --system --unset core.autocrlf | |
git config --global --unset core.eol | |
git config --system --unset core.eol | |
git clone $repo test | |
git clone -c core.autocrlf=false $repo testAutocrlfFalse | |
git clone -c core.autocrlf=false -c core.eol=crlf $repo testAutocrlfFalseEolCrlf | |
git clone -c core.autocrlf=false -c core.eol=lf $repo testAutocrlfFalseEolLf | |
git clone -c core.autocrlf=input $repo testAutocrlfInput | |
git clone -c core.autocrlf=input -c core.eol=crlf $repo testAutocrlfInputEolCrlf | |
git clone -c core.autocrlf=input -c core.eol=lf $repo testAutocrlfInputEolLf | |
git clone -c core.autocrlf=true $repo testAutocrlfTrue | |
git clone -c core.autocrlf=true -c core.eol=crlf $repo testAutocrlfTrueEolCrlf | |
git clone -c core.autocrlf=true -c core.eol=lf $repo testAutocrlfTrueEolLf | |
git clone -c core.eol=crlf $repo testEolCrlf | |
git clone -c core.eol=lf $repo testEolLf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment