Skip to main content
GitHub AE is currently under limited release.

Configuring Git Large File Storage for your enterprise

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.

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 enterprise. Before you can enable Git LFS for specific repositories or organizations, you need to enable Git LFS for your enterprise.

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

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

Configuring Git Large File Storage for your enterprise

  1. In the top-right corner of GitHub AE, click your profile photo, then click Enterprise settings.

    A screenshot of the drop-down menu that appears when you click the profile photo on GitHub Enterprise Server. The "Enterprise settings" option is highlighted in a dark orange outline.

  2. In the enterprise account sidebar, click Policies.

  3. Under Policies, click Options.

  4. Under "Git LFS access", select the drop-down menu, and click Enabled or Disabled.

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. From an administrative account on GitHub AE, in the upper-right corner of any page, click .
  2. If you're not already on the "Site admin" page, in the upper-left corner, click Site admin.
  3. Under "Search users, organizations, teams, repositories, gists, and applications", type the name of the repository in the text field. Then to the right of the field, click Search. Screenshot of the "Search" page of the "Site admin" settings. The button to search repositories, labeled "Search," is highlighted with an orange outline
  4. Under "Search results – Repositories", click the name of the repository.
  5. In the upper-right corner of the page, click Admin. Screenshot of the header of the "Site admin" page for a user or repository. The "Admin" tab is highlighted with an orange outline.
  6. In the left sidebar, click Admin. Screenshot of the left sidebar of the "Site admin" page. The "Admin" menu option is highlighted with an orange outline.
  7. In the "Git LFS" section, next to "Toggle Git LFS access", click Enable or Disable.

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

  1. From an administrative account on GitHub AE, in the upper-right corner of any page, click .
  2. If you're not already on the "Site admin" page, in the upper-left corner, click Site admin.
  3. Under "Search users, organizations, teams, repositories, gists, and applications", type the name of the user or organization in the text field. Then to the right of the field, click Search. Screenshot of the "Search" page of the "Site admin" settings. The button to search users and organizations, labeled "Search," is highlighted with an orange outline.
  4. In the search results, click the name of the user or organization. Site admin settings search options
  5. In the upper-right corner of the page, click Admin. Screenshot of the header of the "Site admin" page for a user or repository. The "Admin" tab is highlighted with an orange outline.
  6. In the left sidebar, click Admin. Screenshot of the left sidebar of the "Site admin" page. The "Admin" menu option is highlighted with an orange outline.
  7. In the "Git LFS" section, next to "Toggle Git LFS access", click Enable or Disable.

Further reading