Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regular updates and fixes (late August) (2) #591

Merged
merged 6 commits into from
Aug 30, 2019
Merged
Show file tree
Hide file tree
Changes from 2 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
5 changes: 3 additions & 2 deletions static/docs/get-started/reproduce.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ $ dvc repro train.dvc

> If you've just followed the previous chapters, the command above will have
> nothing to reproduce since you've already run all the pipeline stages. To
> easily try this command, you can clone this example
> [Github project](https://github.com/iterative/example-get-started) first.
> easily try this command, clone this example
> [Github project](https://github.com/iterative/example-get-started) and run it
> from there.

`train.dvc` file internally describes what data files and code we should take
and how to run the command to get the binary model file. For each data file it
Expand Down
15 changes: 2 additions & 13 deletions static/docs/get-started/retrieve-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,15 @@ To retrieve data files into the <abbr>workspace</abbr> in your local machine,
run:

```dvc
$ rm -f data/data.xml
jorgeorpinel marked this conversation as resolved.
Show resolved Hide resolved
$ dvc pull
```

> If you've followed previous chapters of this section, try deleting
> `data/data.xml` before running the command above, otherwise DVC won't find a
> need to [checkout](/doc/commands-reference/checkout) the file, since it's
> already in your workspace.

This command retrieves data files that are referenced in all
[DVC-files](/doc/user-guide/dvc-file-format) in the <abbr>project</abbr>. So,
you usually run it after `git clone`, `git pull`, or `git checkout`.

As an easy way to test it:

```dvc
$ rm -f data/data.xml
$ dvc pull
```

Alternatively, if you want to retrieve a single dataset or a file:
Alternatively, if you want to retrieve a single dataset or a file you can use:

```dvc
$ dvc pull data/data.xml.dvc
Expand Down