Skip to content

Commit

Permalink
ref: rename add -o/-to-remote examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeorpinel committed Mar 17, 2021
1 parent 1082c85 commit 3fecc7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/docs/command-reference/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ are taken under the hood:
2. Move the file contents to the cache, using the file hash to form the cached
file path (see
[Structure of cache directory](/doc/user-guide/project-structure/internal-files#structure-of-the-cache-directory)
for details). Using the `--out` and `--to-remote` options with an external
target, the data is copied instead (to cache or remote storage).
for details). Using `--out`, or `--to-remote` with an external target, the
data is copied instead (to cache or remote storage).
3. Attempt to replace the file with a link to (or copy of) the cached data (more
details on file linking ahead). A new link is created if a different `--out`
`path` is given. Skipped if `--to-remote` is used
Expand Down Expand Up @@ -339,7 +339,7 @@ $ tree .dvc/cache
Only the hash values of the `dir/` directory (with `.dir` file extension) and
`file2` have been cached.

## Example: Caching large data externally {#straight-to-cache}
## Example: Large data from an external location {#straight-to-cache}

Sometimes you may want to add a large dataset currently found in an external
location, so it becomes local to the project. But what if there's not enough
Expand Down Expand Up @@ -379,7 +379,7 @@ outs:
> For a similar operation that actually keeps a connection to the data source,
> please see `dvc import-url`.

## Example: Storing large data remotely {#straight-to-remote}
## Example: Bootstrap external data tracking with remote storage {#straight-to-remote}

Similarly to the previous scenario, you may sometimes want to add a large
dataset found externally into a regular <abbr>project</abbr> (with a local
Expand Down

0 comments on commit 3fecc7a

Please sign in to comment.