开发者

How to solve .xib file conflicts in Git

开发者 https://www.devze.com 2023-03-20 17:28 出处:网络
I am using git repository for a iphone project. When i pulled from git after committing my work i got conflict in one of my .xib file and auto merging is done sucessfully. But after the auto merging p

I am using git repository for a iphone project. When i pulled from git after committing my work i got conflict in one of my .xib file and auto merging is done sucessfully. But after the auto merging process that .xib file is destroyed. This happens t开发者_如何学Pythono me two or three times. can anyone give me a proper solution for this issue?


Nib files are stored in an XML Format which can usually be handled by git. I wouldn't do an auto-merge on XML files though, because the structure can be corrupted which probably happened in your case. If you open a nib file in a text-editor, you'll be able to guess how the nib file is built. I would then try to do a manual merge, keeping the object structure in the nib file intact.

0

精彩评论

暂无评论...
验证码 换一张
取 消