Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
darrenaddy opened this issue Apr 20, 2022 · 1 comment

Comments

@darrenaddy
Copy link

Seeing that you committed a fix, I decided to try again with a new hugo site with the new repo.
I have:
autoprefixer@10.4.4
npm@8.7.0
postcss-cli@9.1.0
postcss@8.4.12
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.

???

@y1zhou
Copy link
Owner

y1zhou commented Apr 20, 2022

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants