Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the 2GB file size limit a limitation of git lfs or a limitation of github's git lfs support? #3811

Closed
TTimo opened this issue Sep 6, 2019 · 1 comment

Comments

@TTimo
Copy link

TTimo commented Sep 6, 2019

Hello,

I was reading https://help.github.com/en/articles/about-git-large-file-storage after running into problems doing a first import of a repository with a few (>2GB) large files.

With no github remote, I have a local git lfs with those large files imported, and things seem to work fine. So I would like a clarification - is it correct that git lfs on github won't support files > 2GB, but other git lfs implementations might?

Thank you..

@bk2204
Copy link
Member

bk2204 commented Sep 6, 2019

Hey,

Currently, the limitation of 2 GB is purely GitHub, and other implementations may support larger files. We fixed the only known issue that prevents using large files (> 4 GB) on 32-bit systems in 2.7.0, and as far as I'm aware 64-bit systems have always supported files greater than 4 GB.

I will just point out that on Windows, while Git LFS works fine with files greater than 4 GB, Git does not, and so using such files will cause corruption when Git truncates them unexpectedly. You can see #2434 (comment) for more details on that.

Outside of that, there are no known limitations on file sizes.

@bk2204 bk2204 closed this as completed Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants