简体中文 ▾Localized versions of git-upload-pack manual Topics ▾Email
Latest version
▾ git-upload-pack last updated in 2.45.1Changes in the git-upload-pack manual
Setup and Config
Getting and Creating Projects
Basic Snapshotting
Branching and Merging
Sharing and Updating Projects
Inspection and Comparison
Patching
Debugging
External Systems
Server Admin
- 2.45.2 no changes
- 2.45.1
04/29/24
- 2.45.0 no changes
- 2.44.2 no changes
- 2.44.1
04/19/24
- 2.44.0 no changes
- 2.43.5 no changes
- 2.43.4
04/19/24
- 2.43.1 → 2.43.3 no changes
- 2.43.0 no changes
- 2.42.3 no changes
- 2.42.2
04/19/24
- 2.42.1 no changes
- 2.42.0 no changes
- 2.41.2 no changes
- 2.41.1
04/19/24
- 2.41.0 no changes
- 2.40.3 no changes
- 2.40.2
04/19/24
- 2.40.1 no changes
- 2.40.0 no changes
- 2.39.5 no changes
- 2.39.4
04/19/24
- 2.38.1 → 2.39.3 no changes
- 2.38.0
10/02/22
- 2.34.1 → 2.37.7 no changes
- 2.34.0
11/15/21
- 2.21.1 → 2.33.8 no changes
- 2.21.0 no changes
- 2.19.3 → 2.20.5 no changes
- 2.19.2
11/21/18
- 2.11.4 → 2.19.1 no changes
- 2.10.5
09/22/17
- 2.1.4 → 2.9.5 no changes
- 2.0.5
12/17/14
描述
由 git fetch-pack 调用,了解对方缺少哪些对象,并在打包后发送。
终端用户通常不会直接调用该命令。 该协议的用户界面在 git fetch-pack 端,程序对用于从远程仓库拉取更新。 关于推送操作,请参阅 git send-pack。
选项
- --[no-]strict
如果 <目录> 不是 Git 目录,请不要尝试 <目录>/.git/ 。
- --timeout=<n>
<n> 秒不活动后中断传输。
- --stateless-rpc
只对标准输入和标准输出执行一次读写循环。 这符合 HTTP POST 请求处理模式,即程序可以读取请求、写入响应,然后必须退出。
- --http-backend-info-refs
由 git-http-backend[1] 使用,用于提供
$GIT_URL/info/refs?service=git-upload-pack
请求。参见 gitprotocol-http[5] 中的 “智能客户端” 和 gitprotocol-v2[5] 文档中的 “HTTP 传输”。也可理解为 git-receive-pack[1]。- <目录>
要同步的仓库。
环境变量
GIT_PROTOCOL
用于与传输协议握手的内部变量。服务器管理员可能需要配置某些传输协议,以允许传递此变量。请参阅 git[1] 中的讨论。
GIT
属于 git[1] 文档