Skip to main content

Git Large File Storage 정보

GitHub Enterprise Server은(는) 리포지토리에 허용되는 파일의 크기를 제한합니다. 이 제한을 넘어 파일을 추적하려면 Git 대용량 파일 스토리지을(를) 사용할 수 있습니다.

About Git Large File Storage

Git LFS handles large files by storing references to the file in the repository, but not the actual file itself. To work around Git's architecture, Git LFS creates a pointer file which acts as a reference to the actual file (which is stored somewhere else). GitHub Enterprise Server manages this pointer file in your repository. When you clone the repository down, GitHub Enterprise Server uses the pointer file as a map to go and find the large file for you.

Using Git LFS, you can store files up to 5 GB in your repository.

If you exceed the per file limit of 5 GB, the file will be rejected silently by Git LFS.

You can also use Git LFS with GitHub Desktop. For more information about cloning Git LFS repositories in GitHub Desktop, see "Cloning a repository from GitHub to GitHub Desktop."

Pointer file format

Git LFS's pointer file looks like this:

oid sha256:4cac19622fc3ada9c0fdeadb33f88f367b541f38b89102a3f1261ac81fd5bcb5
size 84977953

It tracks the version of Git LFS you're using, followed by a unique identifier for the file (oid). It also stores the size of the final file.


  • Git LFS cannot be used with GitHub Pages sites.
  • Git LFS cannot be used with template repositories.

Further reading