報錯:commit 806f923: email address is not registered in your account, and you lack ‘forge committer’ permission. remote: The following addresses are currently registered:
過程:試過很多次重設(shè)user.name和user.email,并且重新commit,均失敗。但是查看git config配置都是正常的。文章來源:http://www.zghlxwxcb.cn/news/detail-509447.html
解決方法:打開home下的.git-credentials文件,看每個網(wǎng)址的賬戶名跟密碼是否和自己的一致。
思考:可能是別人用你的電腦下過代碼、登陸網(wǎng)站時換成了他自己的用戶名。
參考資料:https://blog.csdn.net/yan_dk/article/details/104136023文章來源地址http://www.zghlxwxcb.cn/news/detail-509447.html
到了這里,關(guān)于Git報錯:email address is not registered in your account, and you lack ‘forge committer‘ permission的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!