1
0
mirror of synced 2025-12-25 02:17:36 -05:00
Files
docs/content/rest/repos/lfs.md
2022-09-12 13:45:05 +00:00

2.5 KiB

title, intro, versions, topics, miniTocMaxHeadingLevel, allowTitleToDifferFromFilename
title intro versions topics miniTocMaxHeadingLevel allowTitleToDifferFromFilename
Git LFS You can enable or disable {% data variables.large_files.product_name_long %} (LFS) for a repository.
fpt ghes ghae ghec
* >=3.3 * *
API
3 true

About the {% data variables.large_files.product_name_short %} API

You can use {% data variables.large_files.product_name_short %} to store large files in a Git repository. The {% data variables.large_files.product_name_short %} API allows you to enable or disable the feature for an individual repository. For more information about {% data variables.large_files.product_name_short %}, see "About {% data variables.large_files.product_name_short %}."

People with admin access to a repository can use the {% data variables.large_files.product_name_short %} API.

{% ifversion fpt or ghec %}

Usage of {% data variables.large_files.product_name_short %} is subject to billing. For more information, see "About billing for {% data variables.large_files.product_name_long %}."

If you want to use the {% data variables.large_files.product_name_short %} API for a repository that belongs to an organization, your role must provide you with access to the organization's{% ifversion ghec %} or enterprise's{% endif %} billing.{% ifversion fpt %} For more information, see "Roles in an organization."{% endif %}

{% ifversion ghec %}

Repository ownership Required repository access Required role More information
Personal account Admin N/A N/A
  • Organization on {% data variables.product.prodname_team %}
  • Organization on {% data variables.product.product_name %}, but not in an enterprise
Admin, which is inherited if you are an organization owner Organization owner or billing manager "Roles in an organization"
Organization in an enterprise Admin, which can be inherited if you are an organization owner Enterprise owner or billing manager "Roles in an enterprise"

{% endif %}

{% endif %}