问题描述
git update-server-info做什么?我如何知道我是否需要它?该手册说:
我如何知道我的服务器是否是哑巴,以及它是否做到on它是否必须有一些辅助信息文件?
我通过ssh将一个Web应用程序推送到一个裸仓库,然后拉从这个裸存储库到web根目录。
哑服务器基本上意味着通过HTTP访问。因此,如果您通过 http:或 https: URL访问您的Git存储库,则需要 update-server-info business,否则( git:, ssh:,等等)你不需要它。
What does git update-server-info do? How do I know if I need it? The manual says:
How do I know if my server is dumb, and whether it does or does not do "on-the-fly pack generations", and whether it "must have some auxiliary information files"?
I am pushing a web app via ssh to a bare repository, then pulling from that bare repository into the web root.
Dumb server basically means accessed over HTTP. So if you access your Git repository over http: or https: URLs, you need the update-server-info business, otherwise (git:, ssh:, etc.) you don't need it.
这篇关于git update-server-info做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!