dvc.org icon indicating copy to clipboard operation
dvc.org copied to clipboard

How to Resolve Merge Conflicts in DVC Metafiles, issue

Open dyollb opened this issue 2 years ago • 3 comments

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"

dyollb avatar Aug 28 '23 08:08 dyollb

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

dberenbaum avatar Aug 28 '23 14:08 dberenbaum

@dberenbaum Can I work on this?

geeksambhu avatar Dec 14 '23 07:12 geeksambhu

Yes, feel free @geeksambhu, thanks!

dberenbaum avatar Dec 14 '23 15:12 dberenbaum