Skip to content
Merged
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
17 changes: 4 additions & 13 deletions content/docs/command-reference/repro.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ analyzing dependencies and <abbr>outputs</abbr> of the target stages.
## Synopsis

```usage
usage: dvc repro [-h] [-q | -v] [-f] [-s] [-c <path>] [-m] [--dry] [-i]
usage: dvc repro [-h] [-q | -v] [-f] [-s] [-m] [--dry] [-i]
[-p] [-P] [-R] [--no-run-cache] [--force-downstream]
[--no-commit] [--downstream] [--pull]
[targets [targets ...]]
Expand Down Expand Up @@ -48,8 +48,8 @@ commands. [Stage](/doc/command-reference/run) outputs are deleted from the
<abbr>workspace</abbr> before executing the stage commands that produce them.

There are a few ways to restrict what will be regenerated by this command: by
specifying stages as `targets`, or by using the `--single-item`, `--cwd`, among
other options.
specifying stages as `targets`, or by using the `--single-item`, among other
options.

> Note that stages without dependencies are considered _always changed_, so
> `dvc repro` always executes them.
Expand Down Expand Up @@ -95,21 +95,12 @@ up-to-date and only execute the final stage.

- `-f`, `--force` - reproduce a pipeline, regenerating its results, even if no
changes were found. This executes all of the stages by default, but it can be
limited with the `targets` argument, or the `-s`, `-p`, `-c` options.
limited with the `targets` argument, or the `-s`, `-p` options.

- `-s`, `--single-item` - reproduce only a single stage by turning off the
recursive search for changed dependencies. Multiple stages are executed
(non-recursively) if multiple stage names are given as `targets`.

- `-c <path>`, `--cwd <path>` - (**deprecated**) this is now supported for any
command with the global [`dvc --cd <path>`](/doc/command-reference) option.

Directory within the project to reproduce from. `targets` will be searched
relative to this path. Instead of using `--cwd`, one can alternately specify a
target in a subdirectory as `path/to/target.dvc`. This option can be useful
for example with subdirectories containing a separate pipeline that can be
reproduced independently.

- `-R`, `--recursive` - determines the stages to reproduce by searching each
target directory and its subdirectories for stages (in `dvc.yaml`) to inspect.
If there are no directories among the targets, this option is ignored.
Expand Down