二进制文件的版本控制 [英] Version control for binaries
问题描述
什么版本控制系统将是有益的或者有额外的功能来支持主要是二进制文件,如MP3,WAV,或专有应用程序特定的文件类型?
What version control systems would be useful or have extra features to support projects that are mainly binary files like mp3, wav, or proprietary application-specific file types?
推荐答案
要版本和传播的二进制文件,而无需实际将其储存在git的,使用混帐附件(备选方案: git的LFS ,的 git的脂肪,混帐BIGSTORE ...的see与工具开发商 http://blog.deveo.com/storing-large-binary-files这HN讨论,或者的此概述)。
To version and propagate binary files without actually storing them in git, use git-annex (alternatives: git lfs, git-fat, git-bigstore… see this HN discussion with the tool developers, or this overview).
要preprocess COM pressed格式,以便使混帐可以更有效地收拾他们,看到的重新压缩(<一个href=\"http://stackoverflow.com/questions/975167/uncom$p$pss-openoffice-files-for-better-storage-in-version-control\">more这里)。
To preprocess compressed formats so that git can pack them more efficiently, see rezip (more here).
要具有混帐显示/比较/通过导出文本版本的二进制日志文件,请参阅执行的二进制文件的文本的diff 一>(或定义外部差异司机)。
To have git show/diff/log binary files by exporting a text version, see performing text diffs of binary files (or define an external diff driver).
要具有的Git合并二进制文件,定义自定义合并司机。
To have git merge binary files, define a custom merge driver.
这篇关于二进制文件的版本控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!