3
I created a new Github account and when I try to give a git push -u origin master it returns an error saying that I am not allowed to access that repository. It appears as if my old account was trying to access this repository. I tried to change using git config user.name "Antonio Matheus" and also with git config user.email "[email protected]". But still the error persists.
Error appears like this:
remote: permission to antoniomatheush/Pomodoro-timer-site.git denied to maggrilmur. fatal: Unable to access 'https://github.com/antoniomatheush/pomodoro-timer-site.git/': The requested URL returned error: 403
maggrilmur is the username of my old Github account, antoniomatheush is the one I recently created.
You saved my life, thanks.
– Antônio Matheus