git branch: gh-pages

后端 未结 9 927
北荒
北荒 2020-12-07 10:43

I have a repo on GitHub. Recently I have discovered GitHub\'s pages and I want to use them.
I would like to create this new branch and then, when I need to, either commi

9条回答
  •  爱一瞬间的悲伤
    2020-12-07 11:37

    There's yet another solution to your problem: Forget about gh-pages and branching; Put your static files that are supposed to be served inside /docs directory and then go to your project settings and tell github to serve /docs content.

    For more information take a look at this

提交回复
热议问题