首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
›
Pro Git
›
Atlassian Git Tutorial
›
Pro Git 简体中文翻译
›
GitX
广告
V2EX
›
git
git 如何以最少的下载量,直接下载指定 hash
cheneydog
·
2020-10-20 21:13:22 +08:00
· 2359 次点击
这是一个创建于 1459 天前的主题,其中的信息可能已经有所发展或是发生改变。
hash 值已知,分支不定的情况下,能不能一条命令下载项目。
Hash
git
下载
下载量
2 条回复
•
2020-10-21 03:27:46 +08:00
1
SoloCompany
2020-10-20 22:41:45 +08:00
2
不能, git 甚至被设计为在没有任何 ref 的情况下无法远程访问一个 dangling hash object
git fetch 是不支持一个 hash 的
2
msg7086
2020-10-21 03:27:46 +08:00
1
你可以看看这里:
https://stackoverflow.com/a/43136160/2221631
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
2528 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms ·
UTC 12:41
·
PVG 20:41
·
LAX 05:41
·
JFK 08:41
Developed with
CodeLauncher
♥ Do have faith in what you're doing.