尝试将更改推送到Git存储库https://github.com/covid19india/covid19india-react.git
时出现错误我在Windows 7上使用Tortoise Git并使用https。我能够使用相同的用户克隆存储库。
问题可能在哪里?
git.exe push --progress "origin" refactor_switch_route
fatal: HttpRequestException encountered.
An error occurred while sending the request.
remote: Permission to covid19india/covid19india-react.git denied to myusername.
fatal: unable to access 'https://github.com/covid19india/covid19india-react.git/': The requested URL returned error: 403
git did not exit cleanly (exit code 128) (14258 ms @ 17-05-2020 17:37:03)
答案 0 :(得分:1)
必须是禁止您访问该存储库,或者您没有必需的访问或身份验证。可能是错误的身份验证。
答案 1 :(得分:0)
在尝试推送到我自己工作的一个存储库的特定分支时,我遇到了同样的问题。我尝试按照建议的方式进行操作,但是没有用...对我有用的是将存储库添加到Github Desktop并从那里推送它。我知道这不是解决方案,但这是一种解决方法。