git branch: gh-pages

后端 未结 9 923
北荒
北荒 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条回答
  •  -上瘾入骨i
    2020-12-07 11:41

    I use this

    git push origin `git subtree split --prefix build`:$DEPLOY --force
    

    You can see working version https://github.com/rofrol/closeyoureyesnow/blob/master/build_and_deploy.sh

提交回复
热议问题