You can use Git Large File Storage (Git LFS) with a single repository, all of your personal or organization repositories, or with every repository in your GitHub Enterprise instance.

In this guide

About Git Large File Storage

Git Large File Storage (Git LFS) is an open source extension to Git that allows you to work with large files the same way as other text files.

You can use Git Large File Storage with a single repository, all of your personal or organization repositories, or with every repository in your GitHub Enterprise instance.

By default, the Git Large File Storage client stores large assets on the same server that hosts the Git repository. When Git LFS is enabled on the GitHub Enterprise appliance, large assets are stored on the data partition in /data/user/storage.

Users cannot push Git LFS assets to GitHub Enterprise if Git LFS is disabled on the appliance or repository.

For more information, see "About Git Large File Storage", "Versioning large files," and the Git Large File Storage project site.

Configuring Git Large File Storage for an individual repository

Note: Each repository automatically inherits default settings from the organization or user that owns it. You cannot override the default setting if the repository's owner has enforced the setting on all of their repositories.

  1. In the upper-right corner of any page, click . Rocketship icon for accessing site admin settings

  2. In the search field, type the name of the repository and click Search. Site admin settings search field

  3. In the search results, click the name of the repository. Site admin settings search options

  4. In the upper-right corner of the page, click Admin. Admin Tools

  5. In the left sidebar, click Admin. Admin Tools

  6. Under "Git LFS", click Enable or Disable. Disable button

Configuring Git Large File Storage for every repository owned by a user account or organization

  1. In the upper-right corner of any page, click . Rocketship icon for accessing site admin settings

  2. In the search field, type the name of the user or organization and click Search. Site admin settings search field

  3. In the search results, click the name of the user or organization. Site admin settings search options

  4. In the upper-right corner of the page, click Admin. Admin Tools

  5. In the left sidebar, click Admin. Admin Tools

  6. Under "Git LFS", click Enable or Disable. Disable button

Configuring Git Large File Storage for your appliance

  1. In the upper-right corner of any page, click . Rocketship icon for accessing site admin settings

  2. In the left sidebar, click Admin center. Admin Center tab

  3. Use the Git LFS access drop-down menu, and select Enabled or Disabled. Git LFS Access