Managing Git LFS objects in archives of your repository

You can choose whether Git Large File Storage (Git LFS) objects are included in source code archives, such as ZIP files and tarballs, GitHub Enterprise Server creates for your repository.

People with admin permissions for a repository can manage whether Git LFS objects are included in archives of the repository.

About Git LFS objects in archives

GitHub Enterprise Server 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, Git LFS 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 Git LFS objects instead.

Managing Git LFS objects in archives

  1. On GitHub Enterprise Server, navigate to the main page of the repository.
  2. Under your repository name, click Settings. Repository settings button
  3. Under "Archives", select or deselect Include Git LFS objects in archives. Checkbox to include Git LFS objects in archives

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.