How to add submodule into gh-pages branch & build static pages correctly?

后端 未结 3 1486
悲&欢浪女
悲&欢浪女 2021-02-08 00:47

I have several project pages to maintain, and all of them use a same theme (I packaged it into a separate repo which called KYProjectPageTheme).

Just copy t

3条回答
  •  说谎
    说谎 (楼主)
    2021-02-08 01:06

    I frequently run into this when I use SSH for my main repository and HTTPS for my sub-repository (prototyping framework).

    I never tracked down exactly why this happens. I even contacted GitHub staff once, and they had to fix something in my repository.

    It turns out there's an easier way: Use HTTPS for the parent repository and all subrepositories. This seems to work without any other tweaking.

提交回复
热议问题