git push error You must verify your email address.

【问题描述】

git push的时候,这个破烂问题遇到好几次了,每次都想不起来原因,记下来。

git push的时候提示以下错误。

remote: You must verify your email address.
remote: See https://github.com/settings/emails.
fatal: unable to access 'https://github.com/rexel-cn/docs.git/': The requested URL returned error: 403

 

【问题原因】

如图中错误提示,因为没有验证电子邮件。

 

【解决办法】

去提示的地址验证电子邮件:https://github.com/settings/emails

进入上述地址,点击Verify email发送邮箱邮件。去邮箱中接收验证邮件,点击链接地址进行邮箱验证,

验证之后重新执行git push即可。

 

posted @ 2020-05-07 11:44  大墨垂杨  阅读(1225)  评论(0编辑  收藏  举报