gpt4 book ai didi

version-control - 是否有可以管理大文件的分布式 VCS?

转载 作者:行者123 更新时间:2023-12-03 21:15:26 25 4
gpt4 key购买 nike

是否有可以处理大于可用 RAM 的文件的分布式版本控制系统(git、bazaar、mercurial、darcs 等)?

我需要能够提交大型二进制文件(即数据集、源视频/图像、文件),但我不需要能够区分它们,只需能够提交然后在文件更改时更新。

大约一年前,我最后一次查看了这个,没有一个明显的候选人允许这样做,因为它们都是为了速度而设计的内存差异。这给我留下了一个用于管理代码的 VCS 和用于大文件的其他东西(“ Assets 管理”软件或只是 rsync 和脚本),当两者的目录结构重叠时,这非常难看。

最佳答案

我问这个问题已经 3 年了,但是,从 2.0 版开始,Mercurial 包括 largefiles extension ,它完成了我最初寻找的内容:

The largefiles extension allows for tracking large, incompressible binary files in Mercurial without requiring excessive bandwidth for clones and pulls. Files added as largefiles are not tracked directly by Mercurial; rather, their revisions are identified by a checksum, and Mercurial tracks these checksums. This way, when you clone a repository or pull in changesets, the large files in older revisions of the repository are not needed, and only the ones needed to update to the current version are downloaded. This saves both disk space and bandwidth.

关于version-control - 是否有可以管理大文件的分布式 VCS?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70392/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com