问题:我将代码推送到项目编码管理器,错误如下:
git push origin master
fatal: unable to access 'https://git.coding.net/hzChenwj/RCS.git/': The requested URL returned error code 403
如果你有同样的问题并解决了,你能提出一些建议吗?
答案 0 :(得分:0)
如果https URL在没有请求您的凭据(用户名+密码)的情况下回答403,则表示缓存了错误的凭据。
请参阅“Updating credentials from the OSX Keychain”以更新或删除该缓存中的条目 (或“How do you reset the stored credentials in 'git credential-osxkeychain'?”的建议之一)