Error building a site in hugo (.gitmodules)

Hello @mcdragon

I had a similar issue a few weeks ago. Not sure if this will help. But, I had to go into the .git directory and open up the config file that was there. I noticed that though i had a “submodule” with name “X” in the .gitmodules file, i also had a reference of the same name in the .git --> config file. It was a difference purpose, I forget what it was. I removed that reference (as well as a few other bad references i had somehow created), and things worked perfectly for me.

Hopefully that might help you.

ps - you won’t find ALL of these config settings in a GUI, so only the file.

1 Like