与UnityYAMLmerge

问题描述:

合并我按照说明在这里:Setting up SourceTree to merge unity3d scenes with UnityYAMLMerge与UnityYAMLmerge

但每次我拉的时候,我得到了很多的文件有冲突:

enter image description here

,并为他们每个人我需要启动外部工具不显示任何东西后,我关闭它解决了冲突:

enter image description here enter image description here

这是无法忍受的讨厌,我是否应该关心那些零名文件?

为什么Meld无法打开任何这些文件?

编辑:我添加了库文件夹到我的gitignore,现在有较少冲突的文件,但Meld仍然不起作用。

Library/文件夹下的文件不应该由混帐被添加到版本控制,该Asset/Scenes/MainScene.unity.origAsset/Scenes/MainScene.unity.orig.orig也不应该在git的版本控制,因为文件Asset/Scenes/MainScene.unity添加是混帐进行管理是正确的。

为什么创建文件filename.orig,这主要是由于在SourceTree中没有正确指定External Merge Tool的设置而导致的。所以,请检查meld是否正确安装并还准备要求:

Requirements 
• Python 3.3 
• GTK+ 3.14 
• GLib 2.36 
• PyGObject 3.14 
• GtkSourceView 3.14 
• pycairo 

此外,您还可以参考Unity, SourceTree and Merge Conflicts整个设置。