From 9cdeaaf5a0deadf1baf7f3d36080c3cd43c4c894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Michel?= Date: Sat, 30 Nov 2024 20:59:25 +0100 Subject: [PATCH] Fixed doc for --keep as mentioned in https://github.com/iterative/dvc.org/pull/5326#discussion_r1855675573 --- content/docs/command-reference/exp/remove.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/docs/command-reference/exp/remove.md b/content/docs/command-reference/exp/remove.md index fd7c1c4ff7..0c7e1a5b54 100644 --- a/content/docs/command-reference/exp/remove.md +++ b/content/docs/command-reference/exp/remove.md @@ -40,7 +40,9 @@ With `--queue`, the list of experiments awaiting execution is cleared instead. - `-g`, `--git-remote` - Name or URL of the Git remote to remove the experiment from -- `--keep` - keep only the selected experiments and remove all others +- `--keep` - changes the default behavior to the opposite for options like -n, --rev. + For example -n --keep keeps experiments from the last num commits and removes + all other experiments. - `-h`, `--help` - shows the help message and exit.