Git push使用了错误的凭据
我只是Git push使用了错误的凭据,git,Git,我只是git clone我的一个存储库,其中包含: git clone https://github.com/org/repo.git cd repo vi ... git commit -am "things" git push remote: Permission to org/repo.git denied to nowox. fatal: unable to access 'https://github.com/org/repo.git/': The requested URL r
git clone
我的一个存储库,其中包含:
git clone https://github.com/org/repo.git
cd repo
vi ...
git commit -am "things"
git push
remote: Permission to org/repo.git denied to nowox.
fatal: unable to access 'https://github.com/org/repo.git/':
The requested
URL returned error: 403
奇怪的是,我没有在这台电脑上配置这个nowox
用户。证据是:
git config --list | grep nowox
在这个存储库中,我也找不到nowox
grep -r nowox
有什么想法吗 检查您的
git-config-credential.helper
输出
如果帮助程序正在缓存错误的凭据,请强制它再次询问您所说的凭据(如“”中所述)
请在以下位置查看范围广泛的答案(正确答案取决于您的操作系统)
git credential-manager reject https://github.com