二进制文件高效存储在一个Git仓库 [英] Efficient storage of binary files in a git repository

查看:504
本文介绍了二进制文件高效存储在一个Git仓库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想有一个主要由二进制文件的Git仓库。

I would like to have a git repository that consists mainly of binary files.

我需要跟踪的改变,添加和删除的文件资源库,但我不想为混帐到版本的文件的内容本身。

I need to keep track of the changed, added and removed files to the repository, but I don't want for git to version the content of the files themselves.

在换句话说,我只需要git的跟踪变化(更改日志),而不是内容。

In other words, I just need for git to keep track of changes (change log), but not the content.

这甚至可能使用Git?

Is this even possible with git?

我应该用这个东西?

推荐答案

Git是一个内容的跟踪,所以如果你不想跟踪的内容,它听起来就像它是错误的工作工具。我不知道你究竟是如何跟踪文件的更改没有跟踪它们的内容,虽然。

git is a content tracker, so if you don't want to track content it sounds like it's the wrong tool for the job. I'm not sure exactly how you would track changes to files without tracking their content, though.

这篇关于二进制文件高效存储在一个Git仓库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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