git - 镜像/复制 Github Wiki 到 repo

我想要一个仅限 wiki 的 github 存储库。但我想让 repo 的主分支实际上是维基 repo 本身。

看来我可以像这样克隆 wiki:

https://github.com/reggi/wiki.wiki.git

以及带有这些 url 的 repo:

  • https://github.com/reggi/wiki.git
  • git@github.com:reggi/wiki.git

有什么方法可以让 repo 自动更新 wiki 的内容?以某种方式使用镜像或 Hook ?

最佳答案

那么,您可以使用以下格式。

https://github.com/<repos_name>.wiki.git

所以在你的情况下:

https://github.com/reggi.wiki.git

希望能帮到你。

https://stackoverflow.com/questions/37362684/

相关文章:

latex - 使用 bibtex 和 biblatex 的 Latex 问题(引用书目)

php - Symfony 进程组件中的多个命令

mongodb - 结合 mongo $push 和 $currentDate 以将时间包含在新的数

nginx - 段错误(核心转储)

react-native - TextInput 通过引用获取值 react native

amazon-web-services - 亚马逊云服务器 : How do I get aroun

git - 我如何摆脱我的 git repo 中的大包文件?

react-native - 如何获得集成测试的 React Native 代码覆盖率?

reactjs - react bootstrap Tabs 和 Nav tems 保持垂直堆叠

google-app-engine - Google AppEngine - 检测客户端是否支持 H