【問題描述】
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即可。