最关键是不知道能否保留 repo a 的 history ,求教达人!
|
47jm9ozpApr 1, 2016
1
你说的是 submodule?
|
|
estApr 1, 2016
2
目测跟 github pages 相关
|
|
4
@est 就是就是哈, repo a 不是 github page ,内容在 master 上, repo b 是 github page ,所以是从 repo a master 到 repo b 的 gh-pages 分支
|
|
5
这个跟 git subtree 功能相对,可以看看 git subtree 怎么做的。 也许 subtree 才是你想要的。
|
|
airycanonApr 1, 2016
6
submodule 的话, repo a 不能删除的,相当于在 repo b 中引用了 repo a 。
|
|
lowworkerApr 1, 2016
7
你可以搜下 wercker.com ,有自动集成脚本。
|