How to solve the requested URL returned error: 403 in git repository

喜欢而已 提交于 2019-12-05 07:20:23
Kunal

I had the same issue when using the git cli and sourcetree - and doing the below solved it.

This is basically an auth issue and git had stored my creds for both bitbucket and github. All I had to do was delete those saved entries using sourcetree.

I am using SourceTree, so went to Tools -> Options -> Authentication

and under git saved passwords, I deleted them all.

This post can lead to other ways of doing the same as well.

Remove credentials from Git

What also need to be checked is the access level, which should be set to write. This can happen if you were added to the repo by someone else, and they forgot to grant you the required permissions.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!