Hi everyone,
I have two github accounts, a personal one and a new one I created with my email from work. I'm trying to connect RStudio with my new github account but with no success.
I've been following https://happygitwithr.com/ but I'm doing something wrong.
I have already changed my user.email and user.name in git bash to the email associated with my new GitHub account. When I try to push I get the following error:
remote: Permission to {new_github_account}/{project}.git denied to {old github user name}.
fatal: unable to access 'https://github.com/{new_github_account}/{project}.git/': The requested URL returned error: 403
I've also created ssh and added to my new github account but I still get the error message.
What else do I need to do?