本地電腦用戶密碼修改了,git 提交,拉取出現(xiàn)異常,
就會(huì)報(bào)這個(gè)錯(cuò)誤fatal: Authentication failed for 'http://xxx/xxx/xxx'
解決方法:
git config --system --unset credential.helper
免輸入用戶密碼方法:
git config --global credential.helper store
此時(shí),會(huì)在你本地生成一個(gè)文本,用于記錄你的賬號(hào)和密碼。
再操作一次git pull(clone 或 push)操作后,它會(huì)提示你輸入賬號(hào)密碼,這一次輸入成功后,就不需要再次輸入密碼了。
如果上述命令出現(xiàn)如下問題。
需要對(duì)用戶增加etc文件夾權(quán)限,如下:?
文章來源:http://www.zghlxwxcb.cn/news/detail-763682.html
之后在輸入命令? git config --system --unset credential.helper 就可以了。?文章來源地址http://www.zghlxwxcb.cn/news/detail-763682.html
到了這里,關(guān)于git權(quán)限異常:fatal: Authentication failed for的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!