在服务器上自动git拉
因此,我有一台服务器,可以在其中保留用于游戏服务器的开发文件。对于多个开发人员,我想知道是否有一种方法可以在该服务器上放置存储库自动提取新文件,因为我的开发人员将其承诺推向在线大师?我已经研究了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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您在Linux上,可以使用crontab,在Windows上可以使用Windows Task Schedules
If you are on linux you can use crontab, on windows you can use Windows Task Scheduler