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:
parent
fa2ca105aa
commit
1cd8207b3d
@ -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:
|
Still in your `Command Prompt` terminal:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/dagger/dagger
|
git clone -c core.symlinks=true https://github.com/dagger/dagger
|
||||||
cd dagger
|
cd dagger
|
||||||
git checkout v0.2.4
|
git checkout v0.2.4
|
||||||
|
|
||||||
@ -240,6 +240,12 @@ cd pkg/universe.dagger.io/examples/todoapp
|
|||||||
dagger do build
|
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:
|
With an empty cache, installing all dependencies, then testing & generating a build for this example app completes in just under a minute:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
Reference in New Issue
Block a user