VSCode: add documentation to setup Git on Windows.
Bug: 921548
Change-Id: I2b6a873556f09edd02644c2235d7fd611e63b0bb
Reviewed-on: https://chromium-review.googlesource.com/c/1406713
Commit-Queue: Mounir Lamouri <mlamouri@chromium.org>
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#622425}
diff --git a/docs/vscode.md b/docs/vscode.md
index 900deed1..13708e82 100644
--- a/docs/vscode.md
+++ b/docs/vscode.md
@@ -55,6 +55,19 @@
Code does not require project or solution files. However, it does store
workspace settings in a `.vscode` folder in your base directory.
+### Git on Windows
+
+If you only have the `depot_tools` Git installed on your machine, even though it
+is in your PATH, VS Code will ignore it as it seems to be looking for `git.exe`.
+You will have to add the following to your settings in order for the Git
+integration to work:
+
+```
+{
+ "git.path": "C:\\src\\depot_tools\\git.bat"
+}
+```
+
### Useful Extensions
Up to now, you have a basic version of VS Code without much language support.