2017-08-07 122 views
0

enter image description here更改用戶名Github的「你必須確認你的電子郵件地址」 403錯誤的混帳推

最近,我改變了我的用戶名在github上(讓一切都重定向到一個新的URL我的用戶名)

我此錯誤通過的CMD線git push

enter image description here

You must verify your email address

Fatal: The request URL returned error: 403

然而,github上WO uldn't讓我重新發送電子郵件驗證帳戶下我所有的新的回購協議>設置

我也做了以下內容,每githubs準則的用戶名變化

git remote set-url origin https://github.com/myNewUserName/repo-name

。然後,我保證我的電子郵件正確設置我的git的/ config文件

git config --global user.email "[email protected]"

還是沒能解決問題

回答

0

SOLUTION:我結束了接觸github上支持

Github上的支持,說使用此命令

git config --global --unset credential.helper

這樣我就可以重新進入我的賬戶INF ormation發送git push

這時候沒有工作,所以我不得不去

Control PanelUser AccountsCredential ManagerWindows Credential Manager→刪除由於我的回購歸我OLD-致力於與GitHub的相關

的一個用戶名,儘管我沒有更改電子郵件,但使用我的新用戶名存在衝突。

我不得不禁用「封鎖命令行推送您的個人電子郵件地址」作爲一個潛在的解決方案。我發送提交時專用的電子郵件,所以這是不適合我

enter image description here

每github上出了問題,原因如下:這裏

If you want to keep this feature enabled (block cmd line expose email), you'll need to re-write the Git history of this repository to remove your private email address from the author info for each commit. Alternatively you can turn off this feature.

替代解決方案

https://help.github.com/articles/blocking-command-line-pushes-that-expose-your-personal-email-address/

https://help.github.com/articles/changing-author-info

這裏

設置信息

https://github.com/settings/emails

希望這可以幫助別人出改變他們的GitHub用戶名時

相關問題