You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can now transfer working changes for the same repository across different VS Code workspaces regardless of whether you like to use HTTP or SSH remotes.
If you have SSH cloning set up locally:
Start in a GitHub repo in insiders.vscode.dev
In VS Code desktop, configure "github.gitProtocol": "ssh" (and make sure you have set up your local machine for SSH cloning)
Make some uncommitted changes in insiders.vscode.dev
From the remote indicator, select Continue Working in New Local Clone
If you're doing this for the first time you should be prompted to sign in to transfer your changes in insiders.vscode.dev and again locally
Your working changes should restore in the local clone
If you do not have SSH cloning set up locally, you can equivalently do:
Open a GitHub repo in insiders.vscode.dev
Clone that same repo to VS Code desktop
Locally run git remote set-url origin <ssh equivalent of http origin>
e.g. https://github.com/microsoft/vscode.git -> git@github.com:microsoft/vscode.git
Make some uncommitted changes in insiders.vscode.dev
Run Store Current Working Changes in Cloud in insiders.vscode.dev
Run Resume Latest Working Changes from Cloud in VS Code desktop
Ensure your working changes restore in the local clone
The text was updated successfully, but these errors were encountered:
I'm not sure what SSH cloning is, but didn't see the Continue Working in New Local Clone, so I probably don't have it set up.
Second part worked fine tho.
Refs: #172341
Complexity: 4
Roles: Developer, Engineering Manager
Create Issue
You can now transfer working changes for the same repository across different VS Code workspaces regardless of whether you like to use HTTP or SSH remotes.
If you have SSH cloning set up locally:
"github.gitProtocol": "ssh"
(and make sure you have set up your local machine for SSH cloning)Continue Working in New Local Clone
If you do not have SSH cloning set up locally, you can equivalently do:
git remote set-url origin <ssh equivalent of http origin>
https://github.com/microsoft/vscode.git
->git@github.com:microsoft/vscode.git
Store Current Working Changes in Cloud
in insiders.vscode.devResume Latest Working Changes from Cloud
in VS Code desktopThe text was updated successfully, but these errors were encountered: