windows中的换行符为 CRLF, 而在Linux下的换行符为LF,所以在执行add . 时会出现以下提示:
git config core.autocrlf false
git config --global core.autocrlf true
windows中的换行符为 CRLF, 而在Linux下的换行符为LF,所以在执行add . 时会出现以下提示:
git config core.autocrlf false
git config --global core.autocrlf true