Will adding .xcdatamodel/layout to the .gitignore cause problems?
When using Core Data, Xcode seems to modify the .xcdatamodel/layout
file every time I view the data model. I don't want开发者_开发百科 to commit that change because I haven't done anything. Is it safe to add that file to the .gitignore?
In my experiment it was safe. However, I recommend just letting git back it up. The overhead is minimal, so why should this bother you?
精彩评论