Logo

dev-resources.site

for different kinds of informations.

Hugo Submodules

Published at
9/27/2020
Categories
hugo
submodules
Author
carbans
Categories
2 categories in total
hugo
open
submodules
open
Author
7 person written this
carbans
open
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.

Featured ones: