Permission denied when pushing to GitHub repository with Personal Access Token

178 Views Asked by At

After first git push origin master request i got

remote: Permission to rabiul7772/Forkify_Project.git denied to nahidhasan830.

fatal: unable to access 'https://github.com/rabiul7772/Forkify_Project.git/': The requested URL returned error: 403 this error.

Then i tried to push with Personal Access Token and got the following error

remote: Permission to rabiul7772/Forkify_Project.git denied to rabiul7772.

fatal: unable to access 'https://github.com/rabiul7772/Forkify_Project.git/': The requested URL returned error: 403

how can i solve this issue?

0

There are 0 best solutions below