二进制文件的版本控制 [英] Version control for binaries

查看:702
本文介绍了二进制文件的版本控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么版本控制系统将是有益的或者有额外的功能来支持主要是二进制文件,如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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆