diff --git a/docs/docs/concepts/dev-environments.md b/docs/docs/concepts/dev-environments.md index 4ccfcc951b..e5d3b9ec79 100644 --- a/docs/docs/concepts/dev-environments.md +++ b/docs/docs/concepts/dev-environments.md @@ -51,8 +51,7 @@ To open in VS Code Desktop, use this link: -`dstack apply` automatically provisions an instance, uploads the contents of the repo (incl. your local uncommitted changes), -and sets up an IDE on the instance. +`dstack apply` automatically provisions an instance and sets up an IDE on it. ??? info "Windows" On Windows, `dstack` works both natively and inside WSL. But, for dev environments, @@ -297,10 +296,10 @@ If you don't assign a value to an environment variable (see `HF_TOKEN` above), ### Files -By default, `dstack` automatically mounts the [repo](repos.md) directory where you ran `dstack init` to any run configuration. +If you configured a [repo](repos.md), `dstack` automatically mounts its content (incl. your local changes) inside the container. -However, in some cases, you may not want to mount the entire directory (e.g., if it’s too large), -or you might want to mount files outside of it. In such cases, you can use the [`files`](../reference/dstack.yml/dev-environment.md#files) property. +In some cases, you don’t need to mount an entire repo and can mount only specific directories. This can be done using +[`files`](../reference/dstack.yml/task.md#_files) instead of repos.