[Git] git push 失败,显示 GH007: Your push would publish a private email address.

216 阅读1分钟

一、问题描述

执行git push总失败,报各种各样的报错,包括:

  • GH007: Your push would publish a private email address.

  • ssh_dispatch_run_fatal: Connection to 20.205.243.160 port 443: Software caused connection abort

  • kex_exchange_identification: Connection closed by remote host Connection closed by 20.205.243.166 port 22 fatal: Could not read from remote repository.

  • Please make sure you have the correct access rights and the repository exists.

  • image.png

二、解决方案

image.png

三、参考阅读

关于从Git上传仓库至GitHub时出现remote: error: GH007: Your push would publish a private email address. - 腾讯云开发者社区-腾讯云 (tencent.com)