Git and Sub Modules

May 27, 2008

Looking to manage my projects plugins with GIT, however really struggled (again with something so simple). What I couldn't understand was why the contents of the sub-modules wasn't there when I cloned my central repo. Turns out that you have to run a couple of commands when you do this

git submodule init
git submodule update

Now to find out what happens when you add another module, do you have to redo the init or just call the update with your existing repo