Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to unlink / sign out from Git repository in "Visual Studio Code" for Mac

Been playing around with this Microsoft Editor. Quite good, but some of the most basic UI bits are missing.

Can't figure out how to unlink / sign out from the Git repo I signed in before. Quitting and reopening the software doesn't work and - useless to say - I have many repo I work with.

Any idea?

like image 636
Andrea Moro Avatar asked Mar 12 '17 19:03

Andrea Moro


2 Answers

On the bottom of the side panel, there is an account icon (usually its sitting right above the cog icon). Click on it, click on your user name, and choose "log out".

like image 124
joernalctl Avatar answered Nov 15 '22 08:11

joernalctl


Go to settings

search for 'git'

uncheck the git : Github Authentification

vs code will ask you your user and password the next time you commit somthing

screenshot

like image 38
151 Yek Avatar answered Nov 15 '22 08:11

151 Yek