Vscode: Git: Support remote management

Created on 22 Feb 2017  路  6Comments  路  Source: microsoft/vscode

20999

Might be possible already, but it wasn't clear how to add a remote after hitting this:

image

I also often do the following to sync from upstream, I don't know if this is possible currently:

git checkout https://github.com/Tyriar/xterm.js.git
git remote add upstream https://github.com/sourcelair/xterm.js.git
git fetch upstream
git merge upstream/master
git push
feature-request git good first issue help wanted verification-needed verified

Most helpful comment

Also missing this feature: i can "Push to..." a new branch to remote "origin" (github), but when i try "git push" from the CLI, it tells me no upstream remote is set and i need to set it. Would be nice if vscode does a "git push -u REMOTE_NAME BRANCH_NAME" when using "Push to...".

All 6 comments

Also missing this feature: i can "Push to..." a new branch to remote "origin" (github), but when i try "git push" from the CLI, it tells me no upstream remote is set and i need to set it. Would be nice if vscode does a "git push -u REMOTE_NAME BRANCH_NAME" when using "Push to...".

Hi @joaomoreno. Can I have some pointers for this issue? I'd like to try and tackle it.

Basically we need commands to add/remove remotes. It would be cool to investigate the new quick open API which allows for fancy UI in quick open.

So we just need to Add/Remove remotes? Like git remote add <remote-name> <url> and git remote rm <remote-name> but from the Quick Open? Do I understand it right?

Support for remote management #60640

Hi @joaomoreno ! I have added options for adding and removing remotes. I have included removing of remotes using the quick open API.

Support for adding and removing remotes is now in master, thanks to @manjrekarom!

Was this page helpful?
0 / 5 - 0 ratings