From d1775e8d3a13558393708fb64ebba6d57f88be6a Mon Sep 17 00:00:00 2001 From: Perry Gibson Date: Mon, 13 Oct 2025 17:46:30 +0100 Subject: [PATCH] docs: add `--wait-for-lock` flag to docs --- content/docs/user-guide/troubleshooting.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/docs/user-guide/troubleshooting.md b/content/docs/user-guide/troubleshooting.md index d182b12b04..a915e14f08 100644 --- a/content/docs/user-guide/troubleshooting.md +++ b/content/docs/user-guide/troubleshooting.md @@ -70,6 +70,9 @@ some network filesystem like NFS, Lustre, etc. If so, the solution is to enable $ dvc config core.hardlink_lock true ``` +You can pass the `--wait-for-lock` option to DVC commands to make them wait for +the lock to be released instead of failing immediately. + ## Cannot add files in symlinked directory {#add-symlink} DVC only supports [symlinked files](/command-reference/add#add-symlink) as valid