我正在使用几个存储库,但最近我只是在内部工作,一切都很棒.
今天我不得不承诺并将代码推送到其他代码中,但我遇到了一些麻烦.
$ 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'为了避免凭证缓存......
似乎没有任何作用; 有没有人有更好的主意?
我的凭据保存在TortoiseGit中(使用Wincred)但我的密码已更改.
我现在从存储库中取出的唯一方法是删除凭证助手.
我怎样才能简单地更改密码?
或者,我可以删除我的凭据并保存我的新凭据吗?