Skip to content

Commit

Permalink
user-guide: add --dvc-files note to the 3.x upgrade page
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrowla committed Oct 11, 2023
1 parent 022b0ed commit a05c919
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions content/docs/user-guide/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,15 @@ data will be copied from the old cache location into the DVC 3.0 location
(resulting in no de-duplication).

</admon>

By default, `dvc cache migrate` only migrates cache data and does not modify
<abbr>DVC files</abbr> in the <abbr>DVC repository</abbr>.
`dvc cache migrate --dvc-files` will migrate entries in all DVC files in the
repository so that DVC will only use data from the DVC 3.0 cache location.

<admon type="info">

Note that when using `--dvc-files` option, DVC will only migrate DVC files in
<abbr>workspace</abbr> (and Git history will not be re-written).

</admon>

0 comments on commit a05c919

Please sign in to comment.