Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions content/docs/command-reference/repro.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ analyzing dependencies and <abbr>outputs</abbr> of the target stages.

```usage
usage: dvc repro [-h] [-q | -v] [-f] [-s] [-c <path>] [-m] [--dry] [-i]
[-p] [-P] [-R] [--ignore-build-cache] [--no-commit]
[--downstream] [targets [targets ...]]
[-p] [-P] [-R] [--no-run-cache] [--force-downstream]
[--no-commit] [--downstream] [targets [targets ...]]

positional arguments:
targets DVC-file to reproduce. 'Dvcfile' by default.
Expand Down Expand Up @@ -127,7 +127,10 @@ and only execute the final stage.
- `-P`, `--all-pipelines` - reproduce all pipelines, for all the stage files
present in `DVC` repository.

- `--ignore-build-cache` - in cases like `... -> A (changed) -> B -> C` it will
- `--no-run-cache` - execute stage commands even if they have already been run
with the same command/dependencies/outputs/etc before.

- `--force-downstream` - in cases like `... -> A (changed) -> B -> C` it will
Comment thread
shcheklein marked this conversation as resolved.
reproduce `A` first and then `B`, even if `B` was previously executed with the
same inputs from `A` (cached). To be precise, it reproduces all descendants of
a changed stage or the stages following the changed stage, even if their
Expand Down
6 changes: 3 additions & 3 deletions content/docs/command-reference/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ command and execute the command.
usage: dvc run [-h] [-q | -v] [-d <path>] [-o <path>] [-O <path>]
[-p <params>] [-m <path>] [-M <path>] [-f <filename>]
[-w <path>] [--no-exec] [--overwrite-dvcfile]
[--ignore-build-cache] [--no-commit]
[--no-run-cache] [--no-commit]
[--outs-persist <path>] [--outs-persist-no-cache <path>]
[--always-changed]
command
Expand Down Expand Up @@ -161,8 +161,8 @@ data pipeline (e.g. random numbers, time functions, hardware dependency, etc.)
determined by the logic described in the `-f` option) without asking for
confirmation.

- `--ignore-build-cache` - forcefully execute the `command` again, even if the
same `dvc run` command has already been run in this workspace. Useful if the
- `--no-run-cache` - forcefully execute the `command` again, even if the same
`dvc run` command has already been run in this workspace. Useful if the
Comment thread
efiop marked this conversation as resolved.
command's code is non-deterministic (meaning it produces different outputs
from the same list of inputs).

Expand Down