.gitattributes merge strategy not working
问题 I'm using a merge strategy in .gitattributes to preserve files during merges. I also used git config --global merge.ours.driver true; to set the driver in my config (I checked the config for [merge "ours"] driver = true and it is there). My merge strategy is set correctly: src/public/bundle.js merge=ours src/public/main.min.css merge=ours server/middlewares/https_redirect.js merge=ours Yet when I merge, I am still getting the files from the branch being merged. What could I be doing wrong?