Can I have my repo's Download ZIP option resolve LFS? #206617
Answered
by
whoismehfooz
blackears
asked this question in
Repositories
Answered by
whoismehfooz
Sep 3, 2026
Replies: 1 comment
|
Hi, GitHub's Download ZIP option normally downloads the repository's Git files, while Git LFS stores the actual large files separately. That's why LFS files can appear as text pointers instead of the original files. If you want users to receive the actual files, the best workaround is to ask them to clone the repository with Git LFS installed, or provide a separate release archive containing the files. I don't believe there is a repository setting that makes the standard Download ZIP option automatically resolve LFS files. It would be useful if GitHub offered that as an option, especially for repositories where users are expected to download assets without installing Git LFS. |
0 replies
Answer selected by
blackears
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hi,
GitHub's Download ZIP option normally downloads the repository's Git files, while Git LFS stores the actual large files separately. That's why LFS files can appear as text pointers instead of the original files.
If you want users to receive the actual files, the best workaround is to ask them to clone the repository with Git LFS installed, or provide a separate release archive containing the files.
I don't believe there is a repository setting that makes the standard Download ZIP option automatically resolve LFS files. It would be useful if GitHub offered that as an option, especially for repositories where users are expected to download assets without installing Git LFS.