Sharing code using Git submodules
Using packages to share code across different projects has a few problems. These are hard to maintain because any change means a new package must be generated and distributed manually across the team.
Collaboration is not easy because fixes to bugs in the implementation are not necessarily shared across the team, unless you invest time to manually share the packages with updates. This is not good, as it requires extra management.
The good news is that we can address this situation using Git submodules as we started using Git in the previous chapter.
With submodules, you can maintain a Git repository as a subdirectory of another Git repository. This lets you clone another repository with a specific tool into your project and keep your commits separate.
In this section, we will make the AppBuilder tool a submodule used by Run & Jump.
Creating a submodule
We need to create a Git repository inside the AppBuilder project that only contains the files and folders...