Hey guys I have a main repo with submodules and I intend on working on most of the files as a new branch. While the main repo doesn't need to be pushed to the remote master my sub modules would probably need to be. Giving that I am working on the files as new branches( both in main and submodule) I ask the following:-
- Should I be tracking the submodules files via the main repo?
- Do the changes in the submodules get reflected immediately in the main repo regardless of committing or not?
- Is it ok to track specific files from submodules in the main repo?
- If I make changes in the submodule I have to do two commits one in the submodule and one on the main repo can I either automate this process or can I make one commit from the main repo?