【发布时间】:2013-11-06 14:12:19
【问题描述】:
我为 Ghost 博客引擎创建了一个骨架主题。并将其提交给 github 存储库,我希望能够将此存储库克隆为新主题。
$ cd ghost/content/themes
git clone https://github.com/StyxOfDynamite/styx_ghost_theme.git new_theme_name
$ ls -l
new_theme_name
这成功创建了一个新主题,即基本主题的副本,但是我想更改它并将新更改提交到不同的存储库,而不是覆盖对基本模板的更改......
我如何做到这一点?
【问题讨论】:
-
在 GitHub 上,自 2019 年 6 月起,您现在拥有存储库模板:请参阅“Can I create a new repository out of an existing repository but rename it?”。