简体   繁体   English

Project Navigator中文件旁边的Xcode字母

[英]Xcode letters beside files in Project Navigator

在此处输入图片说明

What are the significance of the letters beside the files in the Project Navigator? Project Navigator中文件旁边的字母的意义是什么? (eg M,A) (例如M,A)

Those letters beside files in the Project Navigator of Xcode show the status of files that are under version control systems, such as SVN or Git. Xcode的Project Navigator中文件旁边的那些字母显示了版本控制系统(例如SVN或Git)下文件的状态。 So, for instance: 因此,例如:

  • M - means the file has changed and it should be merged into SCM M-表示文件已更改,应将其合并到SCM中
  • A - means this is a new file and should be added to SCM A-表示这是一个新文件,应将其添加到SCM
  • U - means this is a newer version of a file on SCM and you need to update it U-表示这是SCM上文件的较新版本,您需要对其进行更新
  • ? - means the file has not been added to source control -表示该文件尚未添加到源代码管理
  • etc... 等等...

PS You can find list of statuses (at least for SVN) here PS您可以在此处找到状态列表(至少对于SVN)

A - Added (This is a new file that has been added to the repository) A-已添加(这是已添加到资源库的新文件)

C - Conflict (There is a conflict in the file) C-冲突(文件中存在冲突)

D - Deleted (a file has been deleted) D-已删除(文件已删除)

M - Modified (An existing file has been changed) M-已修改(现有文件已更改)

R - Renamed (The file has been renamed) R-重命名(文件已重命名)

U - Untracked (The file is new or has been changed but has not been added to the repository yet) U-未跟踪(文件是新文件或已更改,但尚未添加到存储库中)

Well, my project is not part of source control, yet the same icons are there. 嗯,我的项目不是源代码管理的一部分,但是这里有相同的图标。 So there must be more to it. 因此,必须有更多的东西。

UPDATE: Bacalso Vincent is correct, I did enable GIT on creating the project. 更新:Bacalso Vincent是正确的,我确实在创建项目时启用了GIT。 I had completely forgotten about that though. 我完全忘记了这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM