Error message:
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/xingfupeng/test.git/info/refs
fatal: HTTP request failed
Solution:
Modify the. Git/config file to change the following code:
[remote "origin"]
url = https://github.com/xingfupeng/test.git
Change to:
[remote "origin"]
url = https://[email protected]/xingfupeng/test.git
Again git push, pop-up box input password, you can submit
Similar Posts:
- Git error: requested URL returned error: 403
- git push error: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403
- [github] Push remote: Invalid username or password
- [Solved] Github Push Error: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
- Git Push Github ERROR: Permission to xxx.git denied to user
- Git Error: Github:remote: Invalid username or password……
- Linux: How to Solve Git clone error
- The requested URL returned error: 403 Forbidden while accessing
- [Solved] Updates were rejected because the tip of your current branch is behind
- AS Pycharm Git push Error: Invocation failed Server returned invalid Response, Authentication failed