diff --git a/desktop/dev-environments.md b/desktop/dev-environments.md index 5238a8be03..e4e3c1c034 100644 --- a/desktop/dev-environments.md +++ b/desktop/dev-environments.md @@ -33,6 +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 + +If you have already installed Git, and it's not detected properly, 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"} + ## Start a single container Dev Environment The simplest way to get started with Dev Environments is to create a new environment by cloning the Git repository of the project you are working on. For example, let us create a new Dev Environment using a simple `single-dev-env` project from the [Docker Samples](https://github.com/dockersamples/single-dev-env){:target="_blank" rel="noopener" class="_"} GitHub repository. diff --git a/desktop/images/dev-env-gitbash.png b/desktop/images/dev-env-gitbash.png new file mode 100644 index 0000000000..3f8490461f Binary files /dev/null and b/desktop/images/dev-env-gitbash.png differ