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
14 changes: 12 additions & 2 deletions content/docs/command-reference/exp/pull.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ data from a `dvc remote`.
## Synopsis

```usage
usage: dvc exp pull [-h] [-q | -v] [-f] [--no-cache]
[-r <name>] [-j <number>] [--run-cache]
usage: dvc exp pull [-h] [-q | -v] [-A] [--rev <commit>] [-n <num>] [-f]
[--no-cache] [-r <name>] [-j <number>] [--run-cache]
git_remote experiment

positional arguments:
Expand Down Expand Up @@ -43,6 +43,16 @@ all <abbr>cached</abbr> data associated with the experiment to DVC

## Options

- `-A`, `--all-commits` - pull all experiments in the repository (overrides
`--rev` and `--num`).

- `--rev <commit>` - pull experiments derived from the specified `<commit>` as
baseline.

- `-n <num>`, `--num <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)

Expand Down
14 changes: 12 additions & 2 deletions content/docs/command-reference/exp/push.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ to a `dvc remote`.
## Synopsis

```usage
usage: dvc exp push [-h] [-q | -v] [-f] [--no-cache]
[-r <name>] [-j <number>] [--run-cache]
usage: dvc exp push [-h] [-q | -v] [-A] [--rev <commit>] [-n <num>] [-f]
[--no-cache] [-r <name>] [-j <number>] [--run-cache]
git_remote experiment

positional arguments:
Expand Down Expand Up @@ -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 <commit>` - push experiments derived from the specified `<commit>` as
baseline.

- `-n <num>`, `--num <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)

Expand Down