今天上传代码到GitHub出现下面的错误:
Pushing to https://[email protected]/C...Z/Spider.git
remote: You must verify your email address.
remote: See https://github.com/settings/emails.
fatal: unable to access 'https://[email protected]/C...Z/S...r.git/': The requested URL returned error: 403
出现这个问题的原因是:GitHub需要验证邮箱
解决:
第一步:登录 GitHub在头像-Setting-Email 中点击Verify Email 或者是Configration Email settings,如下图:
第二步:登录邮箱,点击 验证即可,如下图: