我怎样才能建立一个网站来镜像推送到 git 的任何内容?
如何设置一个域来镜像 git 存储库上托管的文件(github.com/nospampleasemam/dylanstestserver 和 dylanstestserver.com)。存储库是一个网站的,所以我想托管存储库中存储的文件,而不仅仅是镜像文件以供下载。
谢谢!
how can I set up a domain to mirror the files hosted on a git repository (github.com/nospampleasemam/dylanstestserver and dylanstestserver.com). The repository is of a website, so I want to host the files stored in the repository, not just mirror the files for download.
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
从该 Web 服务器,您可以将 cron 作业设置为频繁“拉取”。
From that web server, you can set a cron job to "pull" frequently.
您可以使用挂钩在服务器端签出存储库。
(链接页面上有一个拼写错误......它是
$REF
,而不是$RE
)You can use a hook to checkout the repository at the server side.
(there is a typo on the linked page.... it is
$REF
, not$RE
)