How to use Git Submodule (Repository within a Repository)
In some projects we might need to have one or more third party libraries/packages or even our external reusable package(s) from a different repository.
In some projects we might need to have one or more third party libraries/packages or even our external reusable package(s) from a different repository.
Sometime happen that we forget properly configure .gitignore file and keep tracking some file with sensitive data.
Sometimes it happen when we have to use multiple GitHub accounts on a single machine, but it quite tricky to handle in a proper way. Let me describe full steps including some issues I’ve faced and its fixes.