Skip to content

kubedge/blog

Repository files navigation

blog

GitHub blog load

git clone [email protected]:kubedge/blog.git
git submodule add -b master [email protected]:kubedge/kubedge.github.io.git public
git submodule add [email protected]:jpescador/hugo-future-imperfect.git themes/hugo-future-imperfect
git submodule add [email protected]:Vimux/Mainroad.git themes/mainroad/

or

git clone --recurse-submodules [email protected]:kubedge/blog.git

GerritHub blog load

git clone ssh://[email protected]:29418/kubedge/blog && scp -p -P 29418 [email protected]:hooks/commit-msg blog/.git/hooks/
git rm -fr themes/mainroad/
git rm -fr themes/hugo-future-imperfect/
git rm -fr public/
git submodule add https://github.com/jpescador/hugo-future-imperfect themes/hugo-future-imperfect
git submodule add https://github.com/vimux/mainroad themes/mainroad
git submodule add -b master [email protected]:kubedge/kubedge.github.io.git public

Reync GerritHub and GitHub

To resync gerrit and github

git clone ssh://[email protected]:29418/kubedge/blog && scp -p -P 29418 [email protected]:hooks/commit-msg blog/.git/hooks/
cd blog
git push -f https://[email protected]/kubedge/blog