hugo-northeast icon indicating copy to clipboard operation
hugo-northeast copied to clipboard

git submodule add https://github.com/y1zhou/hugo-northeast.git themes/hugo-northeast (not working)

Open darrenaddy opened this issue 2 years ago • 1 comments

Seeing that you committed a fix, I decided to try again with a new hugo site with the new repo. I have: [email protected] [email protected] [email protected] [email protected] all installed globally. I did the git init from the new hugo site folder.

But trying the next step: git submodule add https://github.com/y1zhou/hugo-northeast.git themes/hugo-northeast creates the themes/hugo-northeast folder but the only thing inside it is the .git file. It hangs at that step.

???

darrenaddy avatar Apr 20 '22 16:04 darrenaddy

@darrenaddy I just tested setting up a new site using the commands listed in the readme file and had no problems. Could you check the content of the .gitmodules file in your newly-created hugo site folder? It should be:

[submodule "themes/hugo-northeast"]
	path = themes/hugo-northeast
	url = https://github.com/y1zhou/hugo-northeast.git

If the content looks correct, try running this command in the hugo site folder:

git submodule update --init --recursive --remote --merge

y1zhou avatar Apr 20 '22 20:04 y1zhou