No git confirmed for hugo-news

I’m planning to make my company’s website with hugo-news.
However, I keep getting fatal errors with git submodule add saying
that the git is not confirmed.

What happened?

i would say something went wrong when executing git submodule add

what did you do?
what happened?

see Requesting Help

There is, to my knowledge, no such thing as “git is not confirmed” in git. I think we might have a translation/communication issue here.

You can force Git to speak English by running your command like this:

LC_ALL=en_US git **rest of your git command**

Run your command forced in English for a start and post the complete command and response of the command. From there we go :slight_smile:

Also, help us to help you:

If the error message is this:

fatal: not a git repository (or any of the parent directories): .git

It means you missed a step: initializing a local Git repository.

This will quickly get a new site up and running:

hugo new site my-site
cd my-site
git init
git submodule add https://github.com/professionalaf/hugo-news themes/hugo-news
echo "theme = 'hugo-news'" >> hugo.toml
hugo server
1 Like

That was the issue I had all along! Thank you!!!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.