git-lfs中的多个文件版本 [英] Multiple file versions in git-lfs

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

问题描述

我正在尝试估算我的项目在GitHub上的存储需求,并对git-lfs如何存储文件的多个版本有一些疑问:

I'm trying to estimate the storage requirements for my project on GitHub and have a few questions about how git-lfs stores multiple versions of files:

  • git-lfs是否存储文件的多个版本?
  • 如果是这样,对文件的每次更改都会导致整个文件被复制,还是仅存储差异?
  • 所有版本都计入github上的配额吗?
  • 有什么方法可以控制保留多少个版本?

推荐答案

回答您的问题:

  1. git-lfs是否存储文件的多个版本?

  1. Are multiple versions of files stored by git-lfs?

是的.所有文件版本均由git-lfs存储.

Yes. All file versions are stored by git-lfs.

如果是这样,对文件的每次更改都会导致整个文件被复制,还是仅存储差异?

If so, will every change to a file result in the complete file being replicated, or are only differences stored?

是的.每次微小的更改都会导致存储一个新的完整文件.

Yes. Every little change results in a new complete file stored.

所有版本都将计入github上的配额吗?

Will all versions count towards the quota on github?

是的.每次推送新版本时,总文件大小都会计入您的配额.

Yes. Every time a new version is pushed, the total file size is counted against your quota.

有什么方法可以控制保留多少个版本?

Is there any way to control how many versions are kept?

不. Git LFS尚无此功能.

No. Git LFS hasn't a feature to do that yet.

此处中查看更多详细信息.

See more details here.

这篇关于git-lfs中的多个文件版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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