git拉代码失败,不提示输入账号密码,出现The requested URL returned error: 403

解决方法,清除密码缓存

1
2
3
git config --local --unset credential.helper
git config --global --unset credential.helper
git config --system --unset credential.helper

之后就可以重新输入账号密码拉代码了