Whats the Proper usage of .gitattributes with merge=ours

前端 未结 2 737
傲寒
傲寒 2020-12-06 05:59

I just tried using .gitattributes for the first time. I figure I must be doing something wrong because it is not working as I thought the purpose of using the merge=o

2条回答
  •  隐瞒了意图╮
    2020-12-06 06:25

    Easy fix once I knew what I was doing: I missed adding the merge strategy with git config --global merge.ours.driver true in my local environment.

提交回复
热议问题