mirror of https://github.com/docker/docs.git
Merge pull request #13204 from glours/dev-envs-windows-git-install
add a section to explain how to setup GIT on windows for dev environm…
This commit is contained in:
commit
d0b0621183
|
@ -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.
|
||||
|
||||
{: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.
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
Loading…
Reference in New Issue