Adding a remote
You can add a remote to your project’s Git local Git repository via the Command Palette or the terminal.
Add a remote via the Command Palette
- Open the Command Palette
- Run the
Git: Add new remote
command (typegit remote
and press Enter) - Type the name and URL of your remote (e.g.
origin
and[email protected]:sourcelair/xterm.js.git
) - Click on Add remote or hit Enter when it is selected
Add a remote using the terminal
Add a remote by running the following command in your terminal:
git remote add origin [email protected]:sourcelair/xterm.js.git