Skip to content

Commit

Permalink
exp apply: add force flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon committed Oct 3, 2023
1 parent 59d4e0c commit cb1902a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion content/docs/command-reference/exp/apply.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Put the results from an [experiment](/doc/command-reference/exp) in the
## Synopsis

```usage
usage: dvc exp apply [-h] [-q | -v] experiment
usage: dvc exp apply [-h] [-q | -v] experiment [-f]
positional arguments:
experiment Experiment to be applied
Expand Down Expand Up @@ -69,6 +69,11 @@ Note that `git stash apply` my fail if you run Git commands which affect `HEAD`
- `-v`, `--verbose` - displays detailed tracing information from executing the
`dvc pull` command.

- `-f`, `--force` - does not prompt when removing workspace files. Changing the
current set of DVC files with `git checkout` can result in the need for DVC to
remove files that don't match those references or are missing from cache.
(They are not "committed", in DVC terms.)

## Example: Make an experiment persistent

<admon type="info">
Expand Down

0 comments on commit cb1902a

Please sign in to comment.