git config --global core.autocrlf false git config --global color.ui true git config --global credential.helper store git checkout index.php//放弃这个文件的改动 转载于:https://www.cnblogs.com/modle-sherlock/p/5245847.html