使用命令: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后反应是怎样的?

相关文章:

  • 2021-05-28
  • 2021-10-30
  • 2022-12-23
  • 2021-08-09
  • 2021-05-14
  • 2021-11-06
  • 2022-01-19
  • 2022-12-23
猜你喜欢
  • 2021-08-08
  • 2021-07-09
  • 2021-05-26
  • 2021-09-20
  • 2021-11-01
  • 2022-12-23
相关资源
相似解决方案