在服务器上自动git拉

发布于 2025-01-24 07:10:13 字数 177 浏览 5 评论 0原文

因此,我有一台服务器,可以在其中保留用于游戏服务器的开发文件。对于多个开发人员,我想知道是否有一种方法可以在该服务器上放置存储库自动提取新文件,因为我的开发人员将其承诺推向在线大师?我已经研究了Ngrok,但是由于这不是Web服务器,因此无法弄清楚如何实现此功能,并且文件不在计算机的根驱动器上。希望有人可以逐步给我一个好的教程的正确方向!

So I have a server where I keep development files used for my game server. With multiple developers, I was wondering if there is a way to have the repository located on that server automatically pull new files as my developers push their commits to the online master? I have looked into ngrok but am unable to figure out how to implement this as this is not a web server and the files are not located on the root drive of the computer. Hope someone can give me a good step by step or point me in the right direction of a tutorial!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

请你别敷衍 2025-01-31 07:10:13

如果您在Linux上,可以使用crontab,在Windows上可以使用Windows Task Schedules

If you are on linux you can use crontab, on windows you can use Windows Task Scheduler

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文