Git:HTTP Basic: Access denied
Git操作的时候显示:HTTP Basic: Access denied
一般是因为本地与远程仓库的账户密码信息对应不上,而导致产生的问题。
解决方式1(必须在管理员权限下操作):
git config –-system –-unset credential.helper
// 避免每次都需要输入账号密码,操作这个命令保存账户信息
git config --global credential.helper store
解决方式2:
git config –-global http.emptyAuth true
资料参考:
转载自: https://www.jianshu.com/p/7dc13121adc5 (一卿先森)