diff --git a/content/docs/command-reference/exp/pull.md b/content/docs/command-reference/exp/pull.md index e15b4a2bf4..b6a484ce1c 100644 --- a/content/docs/command-reference/exp/pull.md +++ b/content/docs/command-reference/exp/pull.md @@ -6,8 +6,8 @@ data from a `dvc remote`. ## Synopsis ```usage -usage: dvc exp pull [-h] [-q | -v] [-f] [--no-cache] - [-r ] [-j ] [--run-cache] +usage: dvc exp pull [-h] [-q | -v] [-A] [--rev ] [-n ] [-f] + [--no-cache] [-r ] [-j ] [--run-cache] git_remote experiment positional arguments: @@ -43,6 +43,16 @@ all cached data associated with the experiment to DVC ## Options +- `-A`, `--all-commits` - pull all experiments in the repository (overrides + `--rev` and `--num`). + +- `--rev ` - pull experiments derived from the specified `` as + baseline. + +- `-n `, `--num ` - show experiments from the last `num` commits + (first parents) starting from the `--rev` baseline. Give a negative value to + include all first-parent commits (similar to `git log -n`). + - `-f`, `--force` - rewrite the `experiment` commit if it already exists in the local repo. Equivalent to `git push --force` (rewrites history) diff --git a/content/docs/command-reference/exp/push.md b/content/docs/command-reference/exp/push.md index f2a8ac0fd5..9447de2572 100644 --- a/content/docs/command-reference/exp/push.md +++ b/content/docs/command-reference/exp/push.md @@ -6,8 +6,8 @@ to a `dvc remote`. ## Synopsis ```usage -usage: dvc exp push [-h] [-q | -v] [-f] [--no-cache] - [-r ] [-j ] [--run-cache] +usage: dvc exp push [-h] [-q | -v] [-A] [--rev ] [-n ] [-f] + [--no-cache] [-r ] [-j ] [--run-cache] git_remote experiment positional arguments: @@ -40,6 +40,16 @@ This command will also try to [push](/doc/command-reference/push) all ## Options +- `-A`, `--all-commits` - push all experiments in the repository (overrides + `--rev` and `--num`). + +- `--rev ` - push experiments derived from the specified `` as + baseline. + +- `-n `, `--num ` - show experiments from the last `num` commits + (first parents) starting from the `--rev` baseline. Give a negative value to + include all first-parent commits (similar to `git log -n`). + - `-f`, `--force` - rewrite the `experiment` commit if it already exists in the Git remote. Equivalent to `git push --force` (rewrites history)