Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change GIT account of Visual Studio Team Explorer

I am having a very weird situation when cloning a Git repository from our company private server. The repository is not anonymous (it requires authentication), but when cloning, VS didn't ask any username and password and automatically use an old authentication of old employee. Is there a way to remove the saved username and password and make Visual Studio to prompt them when cloning?

like image 795
Luke Vo Avatar asked Jun 25 '15 13:06

Luke Vo


People also ask

How do I change my GitHub account in Visual Studio?

If you need to access resources from a different account, you'll need to remove any existing GitHub account from Visual Studio, sign out from the web (GitHub.com), and then restart the process for adding the new GitHub account to Visual Studio.

How do I change my credentials in Git Visual Studio?

From the Git menu, go to Settings. To set your user name and email at the global level, go to Git Global Settings; to set your user name and email at the repository level, go to Git Repository Settings. Provide your user name and email, then choose OK to save.


1 Answers

Look in the Windows Credential manager and remove/update your credentials there:

enter image description here

like image 93
jessehouwing Avatar answered Oct 13 '22 05:10

jessehouwing