Github: Mirroring gh-pages to master

后端 未结 8 2107
伪装坚强ぢ
伪装坚强ぢ 2020-12-12 09:27

I\'m developing a jQuery plugin that\'s being hosting on GitHub. It has a demo included of which I\'m manually copying and pushing to the branch gh-pages, what

8条回答
  •  余生分开走
    2020-12-12 10:00

    commit and push to master..

    then :

    git checkout gh-pages  // -> go to gh-pages branch
    git rebase master // bring gh-pages up to date with master
    git push origin gh-pages // commit the changes
    git checkout master // return to the master branch
    

提交回复
热议问题