When you add a submodule to your git project - it adds a gitmodules file and pulls down the actual submodule and stores it in your project.
Do I need to commit the actual submodule that's pulled down or is it better to just commit the gitmodules file that describes the path to the submodule?
You will commit automatically both:
This is reflected in the reverse process (when you want to remove a submodule from a Git repo)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With