在giuhub上演示自己的项目

首先在github上建立项目,然后git clone;

然后切换分支到 git checkout gh-pages

最后提交代码到这个分支上,访问地址:[github用户名].github.io/[项目仓库名],如:hyperioon.github.io/proposeAnimation/

大功告成!

原文地址:https://www.cnblogs.com/raocheng/p/7020420.html