Xcode 中我的文件旁边的这个小“A”是什么意思?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8334519/
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 does this small 'A' mean next to my files in Xcode?
提问by wfbarksdale
So I dragged a few files into a new Xcode project and notice that the files I dragged in had little 'A's next to them. Does anybody know what this means?
所以我将一些文件拖到一个新的 Xcode 项目中,并注意到我拖入的文件旁边有一个小“A”。有人知道这是什么意思吗?
回答by Can Berk Güder
That is the SCM (git, SVN, etc.) status of the file. 'A' stands for Added, 'M' stands for Modified, and '?' stands for Unknown (i.e. untracked file).
那就是文件的 SCM(git、SVN 等)状态。“A”代表添加,“M”代表修改,“?” 代表未知(即未跟踪的文件)。
Xcode 4 creates a git repo for new projects by default. You can disable this on the New Project dialog if you wish.
Xcode 4 默认为新项目创建一个 git repo。如果您愿意,您可以在“新建项目”对话框中禁用此功能。
回答by Andrew Marshall
It means the file's version control status is "added". See the Xcode documentationfor more details.
这意味着文件的版本控制状态为“已添加”。有关更多详细信息,请参阅Xcode 文档。