Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git: Add RemoteNew to Visual Studio Code? Get it now.
Git: Add Remote

Git: Add Remote

sam_schneller

|
17,399 installs
| (3) | Free
Adds a Remote to a Project
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git: Add Remote

Installation

Run ext install git-add-remote from your VS Code ctrl+p window.


Before Usage

For the extension to work, your folder system needs to be set-up in a specific way.

  1. The root folder needs to have your .git folder in it.
  2. Your credentials must be stored for the current project.

To do step 2, choose either of the following:

  • Temporary Credential Store
  • Permanent Credential Store

WARNING: The second method will store your credentials in plaintext, not encrypted, which is insecure

Usage

To use the command, press F1 in the Code window, and type:

Git: Add Remote

When the pop-up appears, enter your Remote's name and press < Enter >.

Another pop-up will appear, where you enter the Git Repository's URL you wish to add, and press < Enter >.


Other Git Utility Extensions

  • Git: Pull - Remote/Branch Specified
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft