Green folder in the user interface. Unable to navigate to folder

Github worked. Then, when I commented, and I went to the 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 expand. How to fix it?

Even more, when I check the repo and switch to the branch, there is nothing there. Where did the data come from?

+5
source share
1 answer

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

You can usually rely on a submodule in the following (non-exhaustive) list of situations

  • avoid code duplication
  • indicate dependency with another project at a very specific point in time

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

The following is an example of how GitHub currently displays a submodule. To the right of the name, you will notice the abbreviated form commit sha ( 7a361e9 ) referenced by this submodule.

submodule

+5
source

Source: https://habr.com/ru/post/918463/


All Articles