Once removed, run the command to push to your GitHub repo, e.g. You may notice that some of these credentials are in fact using the GitHub user you do not want to authenticate with. In order to resolve this, go into Windows and go to Control Panel, then search for the Credential Manager. In VS Code, I have signed in using the account I want:īut when I push, it thinks I am a different user, in this case, carldesouza – “e: Permission to carldesouzacom/my-linter-test.git denied to carldesouza.įatal: unable to access ‘’: The requested URL returned error: 403”: using Visual Studio Code 52 Managing source code with GitHub 53 Using Git. ![]() The remote branch I am trying to push to is on my account carldesouzacom:Īnd in Git in Windows, it thinks I am using a different user. Writing code using Microsoft Visual Studio 2017 37 Coding with Visual Studio's. ![]() ![]() In this post, we will look at what happens when you are trying to push from Visual Studio Code to a GitHub repo and the wrong user is being passed, thereby giving you the error that you do not have permission to post to this repository.
0 Comments
Leave a Reply. |