Hello,
On Bitbucket repo I don't see an option (such as offered by GitHub) to resolve a merge collision on a pull request by choosing one version or the other. In our case we have some collisions caused by noise (updated dates, etc) and we just need to tell git to use the newer file version in our active branch. We can't edit the files in the Bitbucket repo either, because apparently the line length is too long so the edit button is disabled when viewing the source.
The solution shown by Bitbucket is to use git commands (CLI) to resolve the conflicts.
We are developing in ServiceNow so the code does not exist on a server I can log into and execute git CLI.
Will cloning the repo onto my desktop, using SourceTree allow for conflict resolution where I can simply pick the version to use?
I understand that SourceTree will allow me to use raw git commands. Thanks!
Hi Greg and welcome to the community!
You can resolve conflicts in any clone of the repository. If you have git installed on your machine, you can clone the repo and resolve the conflict from a terminal or Git Bash.
It is also possible to use SourceTree. If you try to merge with SourceTree, you will see an error about the conflict, and you will be able to pick which version to use (you can also open a terminal from SourceTree to execute commands).
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.