After checking online, there is a saying that nested warehouses in Github (that is, a subfolder in a git warehouse itself is also a git warehouse; note, it does not refer to git submodule) are displayed in gray in Github. It cannot be clicked to open; in the vim repository that I uploaded to Github, the folders containing all plug-ins from Github managed by Vundle are indeed gray and cannot be clicked.
But today I saw a warehouse on Github, but it is not exactly the case. Please open the link below (I originally took a screenshot, but segmentfault cannot upload the image today): https://github.com/hzheng/vimconf/tree/master/bundle。可以发现,大部分都是可以点击打开的,翻到后面,有两个是灰色的。
Excuse me, why can some be clicked to open while others are grayed out and cannot be clicked to open? Is there any setting that can prevent these nested warehouse subfolders from graying out?
Thank you!
迷茫2017-05-02 09:38:24
You clearly know the concept of git submodule
, why do you hide your ears and say that the plug-ins in hzheng/vimconf are nested warehouses, not sub-modules? However, the SHA-1 commit IDs behind those bundles already indicate that they are all submodules. If you don’t believe it, you can take a look at .gitmodules.
天蓬老师2017-05-02 09:38:24
Because the one that cannot be opened is not hosted on github. If it is hosted on github, you can click to open it directly.