Why is permisson denied(forked repo)? The requested URL returned error: 403


I created new PAT today. Repo is public

git push
Username for 'https://github.com': MilenkoMarkovic
Password for 'https://[email protected]': 
remote: Permission to MilenkoMarkovic/github-action-maven-example-start.git denied to MilenkoMarkovic.
fatal: unable to access 'https://github.com/MilenkoMarkovic/github-action-maven-example-start/': The requested URL returned error: 403

enter image description here



With the introduction of fine-grained personal access tokens, make sure you have created a PAT which is not limited to one repository.

Do create a classic PAT, with a repo scope, and that PAT should allow you to push to your repository.

Answered By – VonC

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published