Hugo: Unable to push the hugo website using git submodule

Created on 30 May 2016  路  1Comment  路  Source: gohugoio/hugo

Hi,

I am trying to publish my blog in Hugo using github pages. I have followed the tutorial here,
https://gohugo.io/tutorials/github-pages-blog/ ,

I have two repos, one is for hosting hugo content and another repo with, .github.io hosting only the public dir's contents. When I try to :
git submodule add -b master [email protected]:/.github.io.git public

It gives me error :

[gkadam@TheMachine myproject-hugo]$ git submodule add -b master [email protected]:meganeshkadam/meganeshkadam.github.io.git public
git: 'submodule' is not a git command. See 'git --help'.

Please help!

>All comments

Please use http://discuss.gohugo.io/ for questions.

Was this page helpful?
0 / 5 - 0 ratings