我正在使用几个存储库,但最近我只是在内部工作,一切都很棒.
今天我不得不承诺并将代码推送到其他代码中,但我遇到了一些麻烦.
$ git push appharbor master
error: The requested URL returned error: 403 while accessing https://gavekortet@appharbor.com/mitivo.git/info/refs?service=git-receive-pack
fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)
我无能为力,这将再次带来密码输入.
如何重置系统上的凭据,以便Git会询问我该存储库的密码?
我试过了:
git config --global --unset core.askpass
为了取消设置密码
git config credential.helper 'cache --timeout=1'
为了避免凭证缓存......
似乎没有任何作用; 有没有人有更好的主意?