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

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. Rocketship icon for accessing site admin settingsIn the upper-right corner of any page, click .

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

  4. Site admin settings search optionsIn the search results, click the name of the repository.

  5. Admin ToolsIn the left sidebar, click Admin.

  6. Disable buttonIn the Git LFS section, click Enable or Disable.

Further reading