使用push命令 将本地仓库push到github时 报错:

git push https://github.com/lexsaints/taobao_spider.git master

报错信息如下:

remote: Resolving deltas: 100% (2/2), completed with 1 local object.
remote: error: GH007: Your push would publish a private email address.
remote: You can make your email public or disable this protection by visiting:
remote: http://github.com/settings/emails
To https://github.com/lexsaints/taobao_spider.git
 ! [remote rejected] master -> master (push declined due to email privacy restrictions)
error: failed to push some refs to 'https://github.com/lexsaints/taobao_spider.git'

我们根据上面的报错信息提示,基本能确定是email的设置问题,所以进入到email的设置中进行修改:修改settings中的email选:按照下图流程操作:

取消选中 之后,重新进入命令行,进行push操作。push成功

push成功后,查看github里 提交的内容更新上去了

git push报错 ! [remote rejected] master -> master (push declined due to email privacy restrictions)相关推荐

  1. push declined due to email privacy restrictions

    使用git push到Github网站的时候提示: push declined due to email privacy restrictions 原因 在Github设置里有一个隐私选项 Block ...

  2. 解决git报错[remote rejected] HEAD -> master (pre-receive hook declined) error: failed to push some...

    git push 报错 ...[remote rejected] HEAD -> master (pre-receive hook declined) error: failed to push ...

  3. git 解决push报错:[rejected] master -> master (fetch first) error: failed to push some refs to

    git 解决push报错:[rejected] master -> master (fetch first) error: failed to push some refs to </h1 ...

  4. git commit -amend报错 ! [remote rejected] HEAD -> refs/for/master (duplicate request) error: failed to

    git commit --amend 提交代码 git push时报错: ` ! [remote rejected] HEAD -> refs/for/master (duplicate req ...

  5. 码云git push报错 DeployKey does not support push code 解决办法

    码云git push报错 DeployKey does not support push code 解决办法 首先生成公钥去码云添加公钥有具体教程 添加公钥 一顿操作之后测试一下 git push 嗯 ...

  6. git push报错:error: failed to push some refs to ‘https:/

    解决在git push时的报错:error: failed to push some refs to 'https:/ // 错误如下 hint: Updates were rejected beca ...

  7. git 解决push报错:[rejected] master -> master (fetch first)

    文章目录 1.报错详情 2.问题原因 3.解决方案 今天对代码进行了修改优化,然后往往远程push,但push后报错了 1.报错详情 To https://amc-msra.visualstudio. ...

  8. git仓库报错【 ! [rejected] master -> master (non-fast-forward)error: failed to push some refs to】

    第一次提交出现此问题,报错的原因是因为远程仓库有的文件在本地仓库中没有,如下显示: 解决方法一:(推荐) git pull --rebase origin master  <本地生成ReadMe ...

  9. repo upload 或者git push 报错“remote: (W):commit subject 65 characters,use shorter first paragraph”

    遇到问题: Repo upload pre-hook check report:         Git (ambarella/include): Pass         Git (kernel/l ...

最新文章

  1. 阿里巴巴连任 Java 全球管理组织席位
  2. 我的家庭私有云计划-16
  3. .net core EFcore model生成数据
  4. UVa 389 Basically Speaking
  5. GERBER文件格式简介
  6. drbd实现mysql地热备_Mysql+DRBD+Heartbeat 实现mysql高可用的双机热备(mysql+heartbeat篇)...
  7. css自动换行加前置_StudyNode -- CSS
  8. ddmmyy日期格式是多少_如何在Excel 2013/2016/2019中将mmddyyyy文本转换为普通日期格式...
  9. 手机怎么打开html页面,手机网页打不开怎么办?看了就知道了!
  10. 谷歌flash无法输入中文
  11. python调用java的方法-JPype的简单使用
  12. dell系统重装后无法进入系统_戴尔系统重装进入bios设置方法
  13. 张尧浠:美股反弹避险情绪降温、黄金迎美零售看回撤力
  14. Win10 GTX1050 TI 下NVIDIA驱动 CUDA和CUDNN的安装(超详细)!亲测有效!
  15. Ubuntu安装Burg
  16. 神级:程序员面试、算法研究、编程艺术、红黑树、机器学习5大经典原创系列集锦与总结
  17. Excel学习日记:L27-数据重复怎么办
  18. STM32 USB VCOM和HID的区别,配置及Echo功能实现(HAL)
  19. 华为当个pl怎么样_pl什么(华为的pl是什么岗位)
  20. 一次成功的云存储接管实战

热门文章

  1. JS字符串转换为数字,Number(),parseInt()和parseFloat()的区别
  2. 线程概念 多线程模型
  3. svn查看某个时间段的日志信息
  4. sa密码不满足强密码要求_恢复丢失的SA密码
  5. sql server死锁_了解SQL Server中的死锁定义
  6. 2019-04-17 PowerShell基本语法
  7. [HNOI2009] 有趣的数列
  8. BZOJ 3668: [Noi2014]起床困难综合症【二进制+贪心】
  9. mysql-数据备份操作
  10. SAP打印出库单需求