From f599e1d72ee868a37edca44b362d5e2337134158 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 22 Dec 2020 16:37:42 -0700 Subject: [PATCH] docs: add details to updating vscode section --- doc/CONTRIBUTING.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/CONTRIBUTING.md b/doc/CONTRIBUTING.md index 4d3dca4a..ffd6498d 100644 --- a/doc/CONTRIBUTING.md +++ b/doc/CONTRIBUTING.md @@ -58,10 +58,13 @@ To develop inside an isolated Docker container: ### Updating VS Code -If you need to update VS Code, you can update the subtree with one line. Here's an example using the version 1.52.1 +If you need to update VS Code, you can update the subtree with one line. Here's an example using the version 1.52: ```shell -git subtree pull --prefix lib/vscode vscode release/1.52 --squash --message "Update VS Code to 1.52.1" +# Add vscode as a new remote if you haven't already and fetch +git remote add -f vscode https://github.com/microsoft/vscode.git + +git subtree pull --prefix lib/vscode vscode release/1.52 --squash --message "Update VS Code to 1.52" ``` ## Build