multiple git accounts one vscode

I stumbled on this problem early last year, I have a few different git accounts for different projects (eg one for work, one personal, one for this blog etc) Usually this is fine, as I tend to have a different machine for each. However, I was transferring repos between owners, and performing a number of updating tasks and needed a way to associate git accounts with their projects and it was becoming time consuming.

I stumbled on this plugin: https://marketplace.visualstudio.com/items?itemName=shyykoserhiy.git-autoconfig
it essentially allows you to associate a git profile with a project when it first opens. its seamless in the background and makes working with multiple git accounts and multiple projects inside vscode very easy.

Leave a Reply