Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dyollb opened this issue Aug 28, 2023 · 3 comments
Open

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

dyollb opened this issue Aug 28, 2023 · 3 comments
Labels
A: docs Area: user documentation (gatsby-theme-iterative) C: guide Content of /doc/user-guide good first issue Good for newcomers 🐛 type: bug Something isn't working.

Comments

@dyollb
Copy link

dyollb commented Aug 28, 2023

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
Copy link
Collaborator

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

@shcheklein shcheklein added 🐛 type: bug Something isn't working. A: docs Area: user documentation (gatsby-theme-iterative) good first issue Good for newcomers C: guide Content of /doc/user-guide labels Nov 26, 2023
@geeksambhu
Copy link

@dberenbaum Can I work on this?

@dberenbaum
Copy link
Collaborator

Yes, feel free @geeksambhu, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: docs Area: user documentation (gatsby-theme-iterative) C: guide Content of /doc/user-guide good first issue Good for newcomers 🐛 type: bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

4 participants