Skip to content

Commit e2f458f

Browse files
committed
docs: add details to updating vscode section
1 parent caee285 commit e2f458f

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

doc/CONTRIBUTING.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
33
# Contributing
44

5-
- [Pull Requests](#pull-requests)
6-
- [Requirements](#requirements)
7-
- [Development Workflow](#development-workflow)
8-
- [Updating VS Code](#updating-vs-code)
9-
- [Build](#build)
10-
- [Structure](#structure)
11-
- [Modifications to VS Code](#modifications-to-vs-code)
12-
- [Currently Known Issues](#currently-known-issues)
5+
- [Pull Requests](#pull-requests)
6+
- [Requirements](#requirements)
7+
- [Development Workflow](#development-workflow)
8+
- [Updating VS Code](#updating-vs-code)
9+
- [Build](#build)
10+
- [Structure](#structure)
11+
- [Modifications to VS Code](#modifications-to-vs-code)
12+
- [Currently Known Issues](#currently-known-issues)
1313

1414
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
1515

@@ -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)