I often use this pattern for easy deployment of websites:
I have a bare repo, which I push/pull to from my computer and this bare repo has a post-update hook that automa
Do you have the ability to do more than a pull on the live server? You can do all of that in one (well, technically two) command:
git pull && git submodule update --init --recursive
This will recursively initialise and pull any submodules, and update existing submodules.
Hope that helps.