问题描述
看起来像是文件夹中的文件夹 - 或者可能是一把锁?无法打开文件,而且似乎没有任何内容.
Looks like a folder inside of a folder - or maybe a lock? The file cannot be opened and none of the content appears to be there.
我知道的一件事是,这个文件夹本身就是一个仓库,位于仓库内
One thing I do know is that this folder is a repo itself, inside of a repo
推荐答案
考虑到它是一个子模块,一种方式你看它的内容是:
Considering it is a submodule, one way for you to see its content is to:
- 在本地克隆该 gitHub 存储库
做一个:
- clone that gitHub repo locally
do a:
git submodule update --init
但是如果它是由 GitHub 托管的存储库,您应该能够单击它并直接从网络浏览其内容.
请参阅我的项目 https://github.com/VonC/compileEverything 中的示例,其中子模块 SemanticUI 可直接浏览.
But you should be able to click on it and browse its content directly from the web, if it was a repo hosted by GitHub.
See an example in my project https://github.com/VonC/compileEverything, where the submodule SemanticUI is directly browsable.
这篇关于这个灰色的 git 图标是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!