diff --git a/content/docs/command-reference/move.md b/content/docs/command-reference/move.md index 5e8ed2b746..4abe4bad51 100644 --- a/content/docs/command-reference/move.md +++ b/content/docs/command-reference/move.md @@ -40,10 +40,8 @@ The `dvc add` command would create a `data.csv.dvc` `.dvc` file with the following content: ```yaml -md5: 3d1a3e5a5b662490e198d6a6ae84984b outs: - - cache: true - md5: c8263e8422925b0872ee1fb7c953742a + - md5: c8263e8422925b0872ee1fb7c953742a path: data.csv ``` diff --git a/content/docs/start/data-versioning.md b/content/docs/start/data-versioning.md index bafb490be0..8f2c848c0a 100644 --- a/content/docs/start/data-versioning.md +++ b/content/docs/start/data-versioning.md @@ -43,7 +43,7 @@ easily versioned like source code with Git, as a placeholder for the original data (which gets listed in `.gitignore`): ```dvc -$ git add data/.gitignore data/data.xml.dvc +$ git add data/data.xml.dvc data/.gitignore $ git commit -m "Add raw data" ``` diff --git a/content/docs/use-cases/shared-development-server.md b/content/docs/use-cases/shared-development-server.md index 115c32cce3..3477fed800 100644 --- a/content/docs/use-cases/shared-development-server.md +++ b/content/docs/use-cases/shared-development-server.md @@ -82,7 +82,7 @@ Let's say you are cleaning up raw data for later stages: $ dvc add raw $ dvc run -n clean_data -d raw -o clean ./cleanup.py raw clean # The data is cached in the shared location. -$ git add raw.dvc dvc.yaml dvc.lock +$ git add raw.dvc dvc.yaml dvc.lock .gitignore $ git commit -m "cleanup raw data" $ git push ``` diff --git a/content/docs/use-cases/versioning-data-and-model-files/index.md b/content/docs/use-cases/versioning-data-and-model-files/index.md index c2069811e2..04f96020eb 100644 --- a/content/docs/use-cases/versioning-data-and-model-files/index.md +++ b/content/docs/use-cases/versioning-data-and-model-files/index.md @@ -60,7 +60,7 @@ Untracked files: images.dvc model.pkl.dvc -$ git add .gitignore images.dvc model.pkl.dvc +$ git add images.dvc model.pkl.dvc .gitignore $ git commit -m "Track images and model with DVC" ``` diff --git a/content/docs/use-cases/versioning-data-and-model-files/tutorial.md b/content/docs/use-cases/versioning-data-and-model-files/tutorial.md index eab8bba94b..4effe349d7 100644 --- a/content/docs/use-cases/versioning-data-and-model-files/tutorial.md +++ b/content/docs/use-cases/versioning-data-and-model-files/tutorial.md @@ -153,7 +153,7 @@ $ dvc add model.h5 Let's commit the current state: ```dvc -$ git add .gitignore model.h5.dvc data.dvc metrics.csv +$ git add data.dvc model.h5.dvc metrics.csv .gitignore $ git commit -m "First model, trained with 1000 images" $ git tag -a "v1.0" -m "model v1.0, 1000 images" ``` @@ -232,7 +232,7 @@ $ dvc add model.h5 Let's commit the second version: ```dvc -$ git add model.h5.dvc data.dvc metrics.csv +$ git add data.dvc model.h5.dvc metrics.csv $ git commit -m "Second model, trained with 2000 images" $ git tag -a "v2.0" -m "model v2.0, 2000 images" ``` diff --git a/content/docs/user-guide/dvc-files-and-directories.md b/content/docs/user-guide/dvc-files-and-directories.md index 282f83d5e9..d230b23077 100644 --- a/content/docs/user-guide/dvc-files-and-directories.md +++ b/content/docs/user-guide/dvc-files-and-directories.md @@ -303,7 +303,6 @@ data/images/ └── index.jpeg $ dvc add data/images -... ``` When running `dvc add` on this directory of images, a `data/images.dvc` @@ -311,11 +310,9 @@ When running `dvc add` on this directory of images, a `data/images.dvc` hash value of the directory: ```yaml -md5: 77e511dafe2178d936e54331d5d6288f outs: - md5: 196a322c107c2572335158503c64bfba.dir path: data/images - # ... ``` The directory in cache is stored as a JSON file (with `.dir` file extension) diff --git a/content/docs/user-guide/updating-tracked-files.md b/content/docs/user-guide/updating-tracked-files.md index eab994a62f..58220fc1b3 100644 --- a/content/docs/user-guide/updating-tracked-files.md +++ b/content/docs/user-guide/updating-tracked-files.md @@ -49,7 +49,7 @@ And start tracking it again: ```dvc $ dvc add train.tsv -$ git add train.tsv.dvc +$ git add train.tsv.dvc .gitignore $ git commit -m "new train data" ```