https://www.youtube.com/watch?v=UQvXst5I41I&t=196s
git submodule add https://github.com/chamlyidunil/common-utility.git common-utility git add common-utility git commint -m "adding submodule"
cd common-utility
Make some change
Push changes.
When you execute git status from parent project
you will some thing like modified: common-utility (new commits)
Now you can add reference to new changes by
git add common-utitliy
git commin -m ""
git pust -u origin master
git submodule foreach git pull
to update submodules : git submodule update --init
git pull --recurse-submodules
git submodule update -f --recursive
If some thing udpate from submodule, its need to push.