I want to change the git account used in my VSCode. I made a new account and don't want to use the old one anymore
What I have tried so far:-
- Did everything in this StackOverflow question Change Git Account in VSCode
- And in this one Chang git account on VScode
- I also have unchecked the
GitHub Authentication
in VSCode settings! - Read the VSCode documentation about GitHub Integration but they don't mention such things
But I can't seem to get it to work
This is the error I get when pushing my commits
git push -u origin master
remote: Permission to username1/todo-app.git denied to username2.
fatal: unable to access 'https://github.com/username1/todo-app.git/': The requested URL returned error: 403
What can I do to solve this problem?
Thanks in advance