0%

Rebuild github page bolg

Problem description

My github page blog disappered (404 not found) when I cancled my github pro. I need to rebuild it.

Solution

1
2
3
4
5
6
7
8
#Deleted the gh-pages branch on github
git push origin --delete gh-pages
# Deleted the gh-pages branch on local
git branch -D gh-pages
# Recreated the branch on local based on master
git checkout -b gh-pages
# Pushed the gh-pages branch to github
git push origin gh-pages