GitHub AE is currently under limited release. Please contact our Sales Team to find out more.

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.

In this article

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", "Versioning large files," and the Git Large File Storage project site.

You can choose whether Git LFS objects are included in source code archives, such as ZIP files and tarballs, that GitHub AE creates for your repository. For more information, see "Managing Git LFS objects in archives of your repository."

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.
    "Enterprise settings" in drop-down menu for profile photo on GitHub AE
  1. In the enterprise sidebar, click Policies.

    Policies tab in the enterprise account sidebar

  2. Under Policies, click Options.

    Options tab in the enterprise account settings sidebar

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

    Git LFS Access

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, click in the upper-right corner of any page.
    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. From an administrative account on GitHub AE, click in the upper-right corner of any page.
    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

Further reading

Did this doc help you?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.