-
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.
doc: misc. updates (late July) (#1610)
* doc: misc. updates * Update content/docs/use-cases/versioning-data-and-model-files/index.md * cmd: remove comma from remote modify
- Loading branch information
1 parent
2c3cc7d
commit cf74404
Showing
5 changed files
with
17 additions
and
14 deletions.
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
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
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
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 |
---|---|---|
|
@@ -52,7 +52,10 @@ The default local cache location is `.dvc/cache`, so there is no need to specify | |
it explicitly. | ||
|
||
```dvc | ||
$ dvc add /home/shared/mydata --external | ||
# Add data on an external location directly | ||
$ dvc add --external /home/shared/mydata | ||
# Create the stage with an external location output | ||
$ dvc run -d data.txt \ | ||
--external \ | ||
-o /home/shared/data.txt \ | ||
|
@@ -69,9 +72,9 @@ $ dvc remote add sshcache ssh://[email protected]:/cache | |
$ dvc config cache.ssh sshcache | ||
# Add data on SSH directly | ||
$ dvc add ssh://[email protected]:/mydata --external | ||
$ dvc add --external ssh://[email protected]:/mydata | ||
# Create the stage with external SSH output | ||
# Create the stage with an external SSH output | ||
$ dvc run -d data.txt \ | ||
--external \ | ||
-o ssh://[email protected]:/home/shared/data.txt \ | ||
|
@@ -88,9 +91,9 @@ $ dvc remote add s3cache s3://mybucket/cache | |
$ dvc config cache.s3 s3cache | ||
# Add data on S3 directly | ||
$ dvc add s3://mybucket/mydata --external | ||
$ dvc add --external s3://mybucket/mydata | ||
# Create the stage with external S3 output | ||
# Create the stage with an external S3 output | ||
$ dvc run -d data.txt \ | ||
--external \ | ||
-o s3://mybucket/data.txt \ | ||
|
@@ -107,9 +110,9 @@ $ dvc remote add gscache gs://mybucket/cache | |
$ dvc config cache.gs gscache | ||
# Add data on GS directly | ||
$ dvc add gs://mybucket/mydata --external | ||
$ dvc add --external gs://mybucket/mydata | ||
# Create the stage with external GS output | ||
# Create the stage with an external GS output | ||
$ dvc run -d data.txt \ | ||
--external \ | ||
-o gs://mybucket/data.txt \ | ||
|
@@ -126,9 +129,9 @@ $ dvc remote add hdfscache hdfs://[email protected]/cache | |
$ dvc config cache.hdfs hdfscache | ||
# Add data on HDFS directly | ||
$ dvc add hdfs://[email protected]/mydata --external | ||
$ dvc add --external hdfs://[email protected]/mydata | ||
# Create the stage with external HDFS output | ||
# Create the stage with an external HDFS output | ||
$ dvc run -d data.txt \ | ||
--external \ | ||
-o hdfs://[email protected]/home/shared/data.txt \ | ||
|
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