When I merge branches I am trying to ignore web.config
between each branch because each branch have different configuration in web.config.
Some reason, it is not working.
Am I missing something?
This is what i have so far.
.gitattributes
* text=auto
Web.config merge=ours
File Structure
.gitignore
.gitattributes
project
|____directory
|____directory2
|_____Web.config
I also set merge.ours.driver to true:
git config --global merge.ours.driver true