I needed to retain the current file in the master branch while merging the other changes from the branch. I used the .gitattributes file to specify a driver which only merges ours. It all worked fine locally but when I tried to merge in the git provider it throwed a merge conflict. I can't find a way to set the driver in the hosted remote repository. Then I added a .gitconfig file which will store the merge settings and I updated the .git/config file to include the custom .gitconfig. file I included int the root of the repo.
My local config path looks like this:
[include]
path = ../.gitconfig
I need a way to replicate this in the remote repo. Is that even possible ?