From cdee16fe9a7d95d152b7e89ea08eecf510189706 Mon Sep 17 00:00:00 2001 From: Guillaume Lours Date: Wed, 21 Jul 2021 10:16:40 +0200 Subject: [PATCH] Update desktop/dev-environments.md Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com> --- desktop/dev-environments.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/desktop/dev-environments.md b/desktop/dev-environments.md index 71bb159b81..05ae18c82c 100644 --- a/desktop/dev-environments.md +++ b/desktop/dev-environments.md @@ -33,7 +33,16 @@ To get started with Dev Environments, you must have the following tools and exte Click **Install** to download and install any missing tools. -> **Add Git to your path on Windows** +### Add Git to your PATH on Windows + +If you have already installed Git on your Windows machine, run the following command to check whether you can use Git with the CLI or PowerShell: + +`$ git --version` + +If it doesn't detect Git as a valid command, you must reinstall Git and ensure you choose the option **Git from the command line...** or the **Use Git and optional Unix tools...** on the ** Adjusting your PATH environment** step. + +> ![Windows add Git to path](/images/dev-env-gitbash.png){:width="300px"} + > > If you already installed Git, first check if you can use it within the command line or Powershell by checking the version: > `$ git --version`