是否可以将远程 git 的值共享到本地 git?
我需要在 git 存储库的服务器端执行一些计算,但我也想与当地人分享结果。
我创建了一个服务器端 post-receive
挂钩,它执行一些操作,然后将结果存储在 info
目录中的文件中。这样的结果可以在钩子执行期间轻松发送到客户端,客户端将在推送结果消息中接收它,但我希望客户端能够根据请求获取它。是否可以?
I need to perform some calculations on the server side of a git repository, but I also want to share the result with locals.
I created a server-side post-receive
hook which performs some actions, then store the result in a file into the info
directory. Such result can be sent easily to the client during the hook execution, client will receive it in the push result message, but I want a client to be capable to get it on request. Is it possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论