DEV Community

Carlos
Carlos

Posted on • Originally published at carloslatorre.net

1

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)

Image of DataStax

AI Agents Made Easy with Langflow

Connect models, vector stores, memory and other AI building blocks with the click of a button to build and deploy AI-powered agents.

Get started for free