Skip to content
Discussion options

You must be logged in to vote

Hey! I totally get how frustrating that is. You want to post or push your school stuff under your school account, but Visual Studio stubbornly keeps routing it to your personal one, no matter how many times you pick the right account in that pop-up window.

The reason this happens is that Visual Studio's account switcher is just a UI layer—behind the scenes, Git is looking at Windows Credential Manager and your local repository settings, which are silently overriding whatever you select.

Here is the most reliable way to fix it without having to delete either of your accounts:

  1. Clear out the cached GitHub credentials in Windows

    • Open the Windows Start menu, type Credential Manager, and ope…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@MBPpp
Comment options

Answer selected by MBPpp
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform, Question Ask and answer questions about GitHub features and usage Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
4 participants