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 ?
To configure Git settings in Visual Studio, choose Settings from the top-level Git menu. Choose Git Global Settings or Git Repository Settings to view and configure global-level or repository-level settings.
Click on "Settings" (from either the project Home menu or from the top dropdown menu), then select "Git Settings." You will see a Global Setting of "Default Repository Location" (the one you want). Change it and click Update.
Navigate to the Project Settings page for that project. On the Configuration tab of the Project Settings page, select the Reset Git Connection button. On the Configure Git page, enter the new Git URL (the Git URL for the repository to which you want to migrate), and then select Continue.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With