Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 2.85 KB

managing-git-lfs-objects-in-archives-of-your-repository.md

File metadata and controls

27 lines (22 loc) · 2.85 KB
title shortTitle intro permissions versions topics redirect_from
Managing Git LFS objects in archives of your repository
Managing {% data variables.large_files.product_name_short %} objects in archives
You can choose whether {% data variables.large_files.product_name_long %} ({% data variables.large_files.product_name_short %}) objects are included in source code archives, such as ZIP files and tarballs, {% data variables.product.product_name %} creates for your repository.
People with admin permissions for a repository can manage whether {% data variables.large_files.product_name_short %} objects are included in archives of the repository.
fpt ghec
*
*
Repositories
/github/administering-a-repository/managing-git-lfs-objects-in-archives-of-your-repository
/github/administering-a-repository/managing-repository-settings/managing-git-lfs-objects-in-archives-of-your-repository

About {% data variables.large_files.product_name_short %} objects in archives

{% data variables.product.product_name %} creates source code archives of your repository in the form of ZIP files and tarballs. People can download these archives on the main page of your repository or as release assets. By default, {% data variables.large_files.product_name_short %} objects are not included in these archives, only the pointer files to these objects. To improve the usability of archives for your repository, you can choose to include the {% data variables.large_files.product_name_short %} objects instead. To be included, the {% data variables.large_files.product_name_short %} objects must be covered by tracking rules in a .gitattributes file that has been committed to the repository.

If you choose to include {% data variables.large_files.product_name_short %} objects in archives of your repository, every download of those archives will count towards bandwidth usage for your account. Each account receives {% data variables.large_files.initial_bandwidth_quota %} per month of bandwidth for free, and you can pay for additional usage. For more information, see "AUTOTITLE" and "AUTOTITLE."

If you use an external LFS server (configured in your .lfsconfig), those LFS files will not be included in archives of the repository. The archive will only contain files that have been committed to {% data variables.product.product_name %}.

Managing {% data variables.large_files.product_name_short %} objects in archives

{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %}

  1. Under "Archives", select or deselect Include {% data variables.large_files.product_name_short %} objects in archives.