How do I prevent the GitHub Pages “Automatic Generator” to remove everything before regenerate the site?

后端 未结 4 1400
逝去的感伤
逝去的感伤 2021-01-31 20:34

I created a wonderful GitHub Pages website for my little project, and I added some other pages into the gh-pages branch. My problem is that, everytime I regenerate

4条回答
  •  天涯浪人
    2021-01-31 21:04

    No, not possible. GitHub wipes the gh-pages repository when you do a "generate". Best you can do is what you are doing now. Another option might be not to use the GitHub page generator to change styles, but to find the source of the styles (they're probably on GitHub somewhere) and manually change them by committing changes (substitute the css files and other minor tweaks)

提交回复
热议问题