不能做git stash apply

时间:2012-05-31 03:54:15

标签: iphone objective-c ios git github

我尝试了git stash apply,我得到了:

warning: Cannot merge binary files: app.xcodeproj/project.xcworkspace/xcuserdata/aditya15417.xcuserdatad/UserInterfaceState.xcuserstate (Updated upstream vs. Stashed changes)

Auto-merging app.xcodeproj/project.xcworkspace/xcuserdata/aditya15417.xcuserdatad/UserInterfaceState.xcuserstate
CONFLICT (content): Merge conflict in app.xcodeproj/project.xcworkspace/xcuserdata/aditya15417.xcuserdatad/UserInterfaceState.xcuserstate

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

xcworkspace文件通常只适用于机器和文件。您正在处理的帐户(例如用户名aditya15417),不应通过Git签入或跟踪。

我签入我自己的GitHub帐户的唯一项目文件是“project.pbxproj”。

所以通过“git rm ________”(在那里插入文件名)

将它们从git中删除