I keep the sub modules of a project in different repositories.
I host the sub modules in the Modules folder within the main project.
Submodules are ignored in the root project's .gitignore` file.
It's okay, but I want to create links to submodules on github.
I tried using Submodules. However, if I use submodules, I guess the folder contents (
Modules/..) must be empty.
How can I do that?
My local workspace:
RootFolder << user/RootFolder
├── Module1 << user/Module1
│ ├── .git
│ ├── README.md
│ └── composer.json
└── Module2 << user/Module2
It looks like this on Github. (As it's supposed to be)
However, I want to create links with the same name as the ignored folders:
│ ├── Module1 >> Redirect to https://github.com/user/Module1 (How can I do that?)
│ └── Module2 >> Redirect to https://github.com/user/Module2 (How can I do that?)