用户界面上的绿色文件夹。无法向下钻取到文件夹中 [英] Green folder on the UI. Can't drill down into the folder

查看:110
本文介绍了用户界面上的绿色文件夹。无法向下钻取到文件夹中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Github正在工作。然后,当我评论和我去github用户界面,我看着回购,其中一个文件夹,我看到一个绿色的文件夹,我不能点击它钻取。如何解决这个问题?



更进一步,当我检查回购并切换到分支时,没有任何内容。数据是从哪里来的? 这是子模块。基本上,这是指向另一个存储库的特定提交的指针。



通常在以下(并非详尽的)情形列表中依赖子模块




  • 避免代码重复
  • 在特定时间点声明与另一个项目的依赖关系



  • 通过阅读以下资源,您可以找到有关子模块的更多信息



    下面是GitHub当前如何显示子模块的示例。在该名称的右侧,您会注意到此子模块引用的提交sha( 7a361e9 )的缩写形式。




    Github was working. Then when I commented and I went to github UI and I looked at the repo, for one of the folders I saw a green folder and I can't click on it to drill down. How do I fix this?

    Even further when I check out the repo and I switch to the branch, there is nothing there. Where did the data go?

    解决方案

    This is a submodule. Basically, this is a pointer to a specific commit of another repository.

    One would usually rely on a submodule in the following (not exhaustive) list of situations

    • avoid duplication of code
    • state the dependency with another project at a very specific point in time

    You can find more information about submodules by reading the following resources

    Below, an example of how GitHub currently display a submodule. On the right of the name, you'll notice the abbreviated form of the commit sha (7a361e9) which is being referenced by this submodule.

    这篇关于用户界面上的绿色文件夹。无法向下钻取到文件夹中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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