Git坑点——remote: error: GH007: Your push would publish a private email address.

使用命令:git push -u origin master   ,把本地库的内容推送到远程库的过程中,出现了问题 ——remote: error: GH007: Your push would publish a private email address.

解决方法——在GitHub的你账号网页上右上角,个人的登录退出的位置,找到setting:    setting->emails->Keep my email address private,把这一项去掉勾选即可。

 windows系统中使用git时报错“warning: LF will be replaced by CRLF”解决方案:

$ rm -rf .git  // 删除.git  
$ git config --global core.autocrlf false  //禁用自动转换 

//然后重新执行

$ git init    
$ git add . 
rm -rf .git慎用!!!! 原因详见:https://www.zhihu.com/question/29438735  不小心敲了rm -rf后反应是怎样的?
怕什么真理无穷,进一寸有一寸的欢喜。
原文地址:https://www.cnblogs.com/LLLLily/p/7299116.html