Hello!
We're using Bitbucket Server v5.8.0 and trying to achieve some special workflow: for our `/dist` directory with compiled files (needed in git repo for some reason) we want the conflicts never to occur. Means that any conflict within `dist` directory should be resolved with (for example) `ours` strategy in all the PRs.
So far we've done:
– and so far this works on local machine when merging a branch to master, but doesn't seem to work in Bitbucket Server during the PR merge checks
Please help us fight these conflicts :)
Thanks!
Regards,
Evgeniy
Hi Evgeniy,
Can I know if you've attempted to resolve the conflict as suggested in https://confluence.atlassian.com/bitbucket/resolve-merge-conflicts-704414003.html
Regards,
I believe you have misunderstood the question. Using a customer merge driver, what they accomplished by running `git config --global merge.ours.driver true ` and adding to the gitattributes file, should allow the merge conflict to resolve itself by allowing using the "ours" version automatically. The question is why is Bitbucket ignoring the .gitconfig settings during pull requests?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any update on this issue ?
I want to be able to by pass pull request conflict ( GUI ) if the merge strategy is set to ours on the specific file. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have the same problem. We want to use a custom merge driver to easily merge Maven poms with different version numbers using the fantastic pomutils (see (*1)).
And it works - but Bitbucket claims in the pull request that there is a conflict. Than, when you look at the diff, there is no differences because of the merge driver.
Please Atlassian - fix this!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.