GIT windows中的换行符为 CRLF, 而在linux下的换行符为LF,所以在执行add . 时出现提示,解决办法

一、常用命令
git config --global user.email “[email protected]
git config --global user.name “Your Name”

切换到master分支:git checkout master
1.
warning: LF will be replaced by CRLF in application.yml. The file will have its origina解决方法

windows中的换行符为 CRLF, 而在linux下的换行符为LF,所以在执行add . 时出现提示,解决办法:

git config --global core.autocrlf false

你可能感兴趣的:(学习,git)