git .xuserstate 和 .xcscheme 文件的所有更改代表什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6770472/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What do all the changes to .xuserstate and .xcscheme files represent?
提问by dan
Whenever I check in changes to my OS X app Xcode 4 projects into git, a lot of lines of files like these get changed with practically every commit
每当我将 OS X 应用程序 Xcode 4 项目的更改签入 git 时,几乎每次提交都会更改很多这样的文件行
.../UserInterfaceState.xcuserstate | 3927 ++++++++++++++++++++
.../test.xcuserdatad/xcschemes/Deployment.xcscheme | 72 +
.../test.xcuserdatad/xcschemes/Hush.xcscheme | 76 +
.../xcschemes/xcschememanagement.plist
Is this stuff necessary to put under version control? The changes to *.xcuserstate clutter up the output of git log -p
so much.
这些东西是否需要置于版本控制之下?对 *.xcuserstate 的更改使输出变得混乱git log -p
。
回答by Andy
Here is a post that describes what can safely be put in the ignore files:
这是一篇文章,描述了可以安全地放入忽略文件中的内容:
xcodeproj under version control
It looks like you can safely ignore some of them.
看起来您可以放心地忽略其中的一些。
Here are a few others posts:
以下是其他一些帖子: