一、常用命令
git config --global user.email “you@example.com”
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