2

I have two git branches (master and develop). DVC maps a data folder in both of them. When I go into master and merging with develop is correct that DVC does not add any new file inside the data folder created in the develop branch but leaves the folder as it is unchanged?

Jorge Orpinel Pérez
  • 6,361
  • 1
  • 21
  • 38
Will
  • 1,619
  • 5
  • 23

1 Answers1

3

If the tracked directories have different contents, the merge will have conflicts in .dvc (and/or dvc.lock) files. There's an official document on how to address this situation: https://dvc.org/doc/user-guide/how-to/merge-conflicts

TL;DR: merge the dataset manually and dvc commit the folder.

Jorge Orpinel Pérez
  • 6,361
  • 1
  • 21
  • 38