iterative / dvc.org

📖 DVC website and documentation
https://dvc.org
Apache License 2.0
342 stars 393 forks source link

How to Resolve Merge Conflicts in DVC Metafiles, issue #4810

Open dyollb opened 1 year ago

dyollb commented 1 year ago

Report

The following command lines are suggested in the section How to Resolve Merge Conflicts in DVC Metafiles.

git config merge.dvc.name 'DVC merge driver'
git config merge.dvc.driver \
      'dvc git-hook merge-driver --ancestor %O --our %A --their %B'

On Windows cmd this just prints the help.

I guess a platform-independent command line would use double quotes:

git config merge.dvc.name "DVC merge driver"
git config merge.dvc.driver \
      "dvc git-hook merge-driver --ancestor %O --our %A --their %B"
dberenbaum commented 1 year ago

@dyollb Good catch! Would you be interested in submitting a PR to fix the docs?

geeksambhu commented 11 months ago

@dberenbaum Can I work on this?

dberenbaum commented 11 months ago

Yes, feel free @geeksambhu, thanks!