docs: add tip for support symlink with git on Windows

Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
Sam Alba 2022-04-04 15:16:29 -07:00
parent fa2ca105aa
commit 1cd8207b3d

View File

@ -232,7 +232,7 @@ With Docker running, we are ready to download our example app and run its CI/CD
Still in your `Command Prompt` terminal:
```shell
git clone https://github.com/dagger/dagger
git clone -c core.symlinks=true https://github.com/dagger/dagger
cd dagger
git checkout v0.2.4
@ -240,6 +240,12 @@ cd pkg/universe.dagger.io/examples/todoapp
dagger do build
```
:::tip
By default, git on Windows does not automatically convert posix symbolic links, which explains the extra option `core.symlinks=true` while cloning the repository.
But you can also enable this once and for all in your git configuration, by running the following command from a Powershell terminal: `git config --global core.symlinks true`.
:::
With an empty cache, installing all dependencies, then testing & generating a build for this example app completes in just under a minute:
```shell