I have a project set up with Ionic Framework, and started working off of the master branch, setting up my own branch to do so on a branch called updates. There's also another branch called rc1-2015 that I'm trying to merge into the updates branch, but a lot of the bower components (and platforms directory) got updated in my updates branch, causing merge conflicts in nearly every file.
I want to keep all the bower components from the updates branch as they are now, but merge all the rest of the files. I've tried adding bower_components/* merge=ours
to .gitattributes
but it doesn't seem to do anything, there are still tons of merge conflicts.
How can I make it ignore the bower_components
dir (and the platforms
dir), but merge the rest of the files?