git checkout as is and commit lf code example Example: git eof config $ git config --global core.autocrlf true