-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd ref: add introductory sentence in re-import example
per #800 (comment)
- Loading branch information
1 parent
89e45ac
commit ca15be1
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 \ | ||
|
@@ -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`: | ||
|
||
|