Skip to content

Commit

Permalink
cmd ref: add introductory sentence in re-import example
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeorpinel committed Nov 18, 2019
1 parent 89e45ac commit ca15be1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion static/docs/command-reference/import.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ under `repo` are used to save the origin and version of the dependency.

## Example: fixed revisions & re-importing

To import a specific revision of a <abbr>data artifact</abbr>, we may use the
`--rev` option:

```dvc
$ dvc import --rev cats-dogs-v1 \
[email protected]:iterative/dataset-registry.git \
Expand All @@ -135,7 +138,7 @@ Importing
-> 'cats-dogs'
```

When the `--rev` option is used, the import stage
When using this option, the import stage
([DVC-file](/doc/user-guide/dvc-file-format)) will also have a `rev` subfield
under `repo`:

Expand Down

0 comments on commit ca15be1

Please sign in to comment.