在git repository中,做成下面的文件
.gitattributes
文件的内容如下:
ignore_target_file merge=ours
.git/config 下面配置如下
[merge "ours"]
name = "Keep ours merge"
driver = true
上边的配置git/config可以通过命令进行设置
在git repository中,做成下面的文件
.gitattributes
文件的内容如下:
.git/config 下面配置如下
上边的配置git/config可以通过命令进行设置