相关疑难解决方法(0)

从Git中删除凭据

我正在使用几个存储库,但最近我只是在内部工作,一切都很棒.

今天我不得不承诺并将代码推送到其他代码中,但我遇到了一些麻烦.

$ 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'

为了避免凭证缓存......

似乎没有任何作用; 有没有人有更好的主意?

windows git credentials

522
推荐指数
29
解决办法
63万
查看次数

标签 统计

credentials ×1

git ×1

windows ×1