Skip to content

Commit 5164f92

Browse files
authored
Merge pull request #2505 from cdr/docs-update-vscode
docs: add details to updating vscode section
2 parents caee285 + f599e1d commit 5164f92

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/CONTRIBUTING.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,13 @@ To develop inside an isolated Docker container:
5858

5959
### Updating VS Code
6060

61-
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
61+
If you need to update VS Code, you can update the subtree with one line. Here's an example using the version 1.52:
6262

6363
```shell
64-
git subtree pull --prefix lib/vscode vscode release/1.52 --squash --message "Update VS Code to 1.52.1"
64+
# Add vscode as a new remote if you haven't already and fetch
65+
git remote add -f vscode https://github.com/microsoft/vscode.git
66+
67+
git subtree pull --prefix lib/vscode vscode release/1.52 --squash --message "Update VS Code to 1.52"
6568
```
6669

6770
## Build

0 commit comments

Comments
 (0)