You can enable or disable Git LFS on a per-repository basis.

Git Large File Storage on GitHub Enterprise is part of an early access technical preview. It is not currently supported for production use. If you experience any issues, contact GitHub Enterprise support.

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 chosen to enforce the setting on all of its repositories.

  1. As a site admin, sign in to your GitHub Enterprise instance at http(s)://[hostname]/login.

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

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

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

  5. In the Key field, type git-lfs. New setting key

  6. In the Value field, determine whether Git LFS is enabled for your GitHub Enterprise instance.

    • To enable it, type true.
    • To disable it, type false. New setting value

Further reading