DEV Community

Carlos
Carlos

Posted on • Originally published at carloslatorre.net

Hugo Submodules

Hello!!

This blog it's made with Hugo, and today I'm going to give you some tips for sync content and git project across different machines.

It's important know that when you pull your repo the submodules not pull with it. If you want to pull all include submodules you need to type this:

git clone --recursive url
Enter fullscreen mode Exit fullscreen mode

If you have already cloned a repository and want to load it's submodules you need to type this:

git submodule update --init
Enter fullscreen mode Exit fullscreen mode

Here I'm give you some links to explore and understading the submodules on git.

Top comments (0)