Skip to content

Commit

Permalink
Merge pull request #2074 from iterative/1.0-updates
Browse files Browse the repository at this point in the history
dvc: still pending 1.x updates (1)
  • Loading branch information
jorgeorpinel authored Jan 6, 2021
2 parents 354e900 + e6858cc commit 7d3333a
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion content/docs/command-reference/commit.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ $ pip install -r src/requirements.txt
Download the precomputed data using:

```dvc
$ dvc pull --all-branches --all-tags
$ dvc pull -aT
```

</details>
Expand Down
3 changes: 2 additions & 1 deletion content/docs/command-reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ or to a relative path (resolved from `./.dvc/`):

```dvc
$ dvc config cache.dir ../../mycache
$ dvc pull -q
$ dvc pull
$ ls ../mycache
2f/
```
Expand Down
1 change: 1 addition & 0 deletions content/docs/command-reference/import.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ but it also creates an import stage (`.dvc` file) with a link to the data source

```yaml
md5: 7de90e7de7b432ad972095bc1f2ec0f8
frozen: true
wdir: .
deps:
- path: data/data.xml
Expand Down
2 changes: 1 addition & 1 deletion content/docs/command-reference/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ $ pip install -r src/requirements.txt
Download the precomputed data using:

```dvc
$ dvc pull --all-branches --all-tags
$ dvc pull -aT
```

</details>
Expand Down
7 changes: 4 additions & 3 deletions content/docs/command-reference/plots/modify.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,10 @@ Note, a new field _y_ was added to `dvc.yaml` file for the plot. Please do not
forget to commit the change in Git if the modification needs to be preserved.

```yaml
- logs.csv:
cache: false
y: accuracy
plots:
- logs.csv:
cache: false
y: accuracy
```
Changing the plot `title` and `x-label`:
Expand Down
3 changes: 2 additions & 1 deletion content/docs/command-reference/pull.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ to retrieve part of the data?
```dvc
$ dvc pull --with-deps featurize
... Use the partial update, then pull the remaining data:
# Use the partial update...
# Then pull the remaining data:
$ dvc pull
Everything is up to date.
Expand Down
7 changes: 3 additions & 4 deletions content/docs/command-reference/push.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ the default remote:
$ dvc push
```
Push <abbr>outputs</abbr> of a specific `.dvc` file only:
Push files related to a specific `.dvc` file only:

```dvc
$ dvc push data.zip.dvc
Expand Down Expand Up @@ -165,12 +165,11 @@ want to upload part of the data?
```dvc
$ dvc push --with-deps test-posts
... Do some work based on the partial update
# Do some work based on the partial update...
# Then push the rest of the data:
$ dvc push --with-deps matrix-train
... Push the rest of the data
$ dvc status --cloud
Cache and remote 'r1' are in sync.
```
Expand Down
2 changes: 1 addition & 1 deletion content/docs/start/data-pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ stages:
prepare:
cmd: python src/prepare.py data/data.xml
deps:
- data/data.xml
- src/prepare.py
- data/data.xml
params:
- prepare.seed
- prepare.split
Expand Down
2 changes: 1 addition & 1 deletion content/docs/use-cases/sharing-data-and-model-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ with the `dvc push` command:
$ dvc push
```

Code and [DVC-files](/doc/user-guide/dvc-files-and-directories) can be safely
Code and [DVC files](/doc/user-guide/dvc-files-and-directories) can be safely
committed and pushed with Git.

## Download code
Expand Down

0 comments on commit 7d3333a

Please sign in to comment.