Xcode 4下的Git仓库中的黄色指示器 [英] Yellow Indicator on Git Repository under Xcode 4

查看:150
本文介绍了Xcode 4下的Git仓库中的黄色指示器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾经在Xcode 4中使用Subversion作为我的源代码控制。越来越多,我一直在遇到问题。由于Xcode现在支持Git,所以我想我会尝试一下。



它似乎已经建立并正在运行,但我有点担心某些事情。在Organiser - > Repositories下面,它为每个项目显示一个Git Repository。但是,Repository名称右侧的指示灯为黄色。我可以找到没有关于这个文件,似乎无法解决它。 Apple用户指南中的示例显示指示符为绿色(请参阅下文)。但是,在我的身上,他们是黄色的。



这是需要关注的东西吗?我如何解决它?是否需要完全卸载SVN?



仅供参考,我试过以下内容:


  1. 从我的项目中删除了所有.SVN目录。

  2. 已将SVN存储库移至其他位置,因为它一直显示在管理器中。
  3. ol>

    任何帮助表示感谢!



    解决方案

    苹果在开发者论坛上回答了我的问题。他们表示,您可以忽略Git存储库的状态指示灯。然而,如果它是红色的,那可能是因为存储库不存在。



    https://devforums.apple.com/message/431507#431507


    I used to use Subversion for my source control in Xcode 4. Increasingly, I have been having problems with it. Since Xcode now supports Git, I thought I would try that.

    It seems to be set up and working, but I'm a little concerned about something. Under Organizer -> Repositories, it shows a Git Repository for each project. However, the indicator light on the right side of the Repository name is Yellow. I can find no documentation about this and can't seem to fix it. The samples on Apple's User Guide show the indicators are Green (see below). But, on mine they are Yellow.

    Is this something to be concerned about? How do I fix it? Do I need to completely uninstall SVN?

    FYI, I have tried the following:

    1. Have removed all .SVN directories from my projects.
    2. Have moved the SVN repository to another location because it kept showing up in Organizer.

    Any help is appreciated!

    解决方案

    It looks like it is just cosmetic. Apple answered my question in the developer forums. They indicated that you can ignore the status light for Git repositories. If it is Red, however, it is probably because the repository doesn't exist.

    https://devforums.apple.com/message/431507#431507

    这篇关于Xcode 4下的Git仓库中的黄色指示器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆