When using the Bamboo branch updater functionality I am constantly getting failed builds due to git merge conflicts in a file that contains the application version number.
On developer PC's this is avoided through the use of a custom merge driver to always select the local copy of the file when a conflict is detected
This is done by defining a gitattributes file within the repository, and within this file defining a custom merge driver (called "ours") as such:
version.txt merge=ours
Then on the developers PC by running the command:
git config --global merge.ours.driver true
The global .gitconfig file on the PC then shows:
... [merge "ours"] driver = true
How can I configure Bamboo's Git capability to to observe a custom merge driver when the branch updater performs a merge?
I am searching for a solution to the exact same problem - any joy?
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.