diff --git a/content/docs/command-reference/cache/dir.md b/content/docs/command-reference/cache/dir.md index 3a118f30a1..4dfbb180ac 100644 --- a/content/docs/command-reference/cache/dir.md +++ b/content/docs/command-reference/cache/dir.md @@ -20,8 +20,8 @@ Helper to set the `cache.dir` configuration option. (See [cache directory](/doc/user-guide/dvc-files-and-directories#structure-of-cache-directory).) Unlike doing so with `dvc config cache`, this command transform paths (`value`) that are provided relative to the current working directory into paths -**relative to the config file location**. They are required in the latter form -for the config file. +**relative to the config file location**. However, if the `value` provided is an +absolute path, then it's preserved as it is. ## Options diff --git a/content/docs/use-cases/shared-development-server.md b/content/docs/use-cases/shared-development-server.md index 4058c808b6..4131d5af6b 100644 --- a/content/docs/use-cases/shared-development-server.md +++ b/content/docs/use-cases/shared-development-server.md @@ -52,7 +52,7 @@ Tell DVC to use the directory we've set up above as the cache for your project: ```dvc -$ dvc config cache.dir /home/shared/dvc-cache +$ dvc cache dir /home/shared/dvc-cache ``` And tell DVC to set group permissions on newly created or downloaded cache @@ -62,7 +62,7 @@ files: $ dvc config cache.shared group ``` -> See `dvc config cache` for more information on these config options. +> See `dvc cache dir` and `dvc config cache` for more information. If you're using Git, commit changes to your project's config file (`.dvc/config` by default):