I have a project that has specified submodules in it. Everything works well on the dev machine. I have commited .gitmodules
file and pulled on the production. However it does not pulled submodules.
If I go into submodule directories and call git pull
, nothing happens.
What is the proper way to pull those submodules in the new project ?
From the root of the repo just run:
git submodule update --init