visual studio code how to change the current git repository

16,342

Since the latest VSCode 1.19 version, you can have multi-root folders

That means you can open a new folder (the one with a .git/ subfolder inside) representing your second repository.
VSCode will detect that Git repo, and use Git commands accordingly.

Share:
16,342
dtjmsy
Author by

dtjmsy

Updated on August 12, 2022

Comments

  • dtjmsy
    dtjmsy over 1 year

    I would like to change my git repository.

    I have created another git repository and I would like to connect it to the new one.
    I have no idea where I can list all the providers and change it ?