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)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay