创建“gh-pages”分支一直出问题,所以终于找到了解决办法
1.git checkout --orphan gh-pages
2.git rm -rf
3 git add .
4 git commit -m"s"
5 git push origin gh-pages
https://stackoverflow.com/questions/4750520/git-branch-gh-pages很详细的介绍了这个办法
图1
图2
创建“gh-pages”分支一直出问题,所以终于找到了解决办法
1.git checkout --orphan gh-pages
2.git rm -rf
3 git add .
4 git commit -m"s"
5 git push origin gh-pages
https://stackoverflow.com/questions/4750520/git-branch-gh-pages很详细的介绍了这个办法
图1
图2
本文标题:创建"gh-pages"分支,并且传送文件。
本文链接:https://www.haomeiwen.com/subject/aeixkxtx.html
网友评论