Skip to content

Commit 13caa0b

Browse files
authored
note that external LFS files aren't included in archives, take 2 (github#20700)
1 parent 23f8119 commit 13caa0b

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

content/github/administering-a-repository/managing-repository-settings/managing-git-lfs-objects-in-archives-of-your-repository.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ intro: 'You can choose whether {% data variables.large_files.product_name_long %
55
permissions: '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.'
66
versions:
77
fpt: '*'
8-
ghes: '>3.0'
9-
ghae: '*'
108
topics:
119
- Repositories
1210
redirect_from:
@@ -16,9 +14,9 @@ redirect_from:
1614

1715
{% 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.
1816

19-
{% ifversion fpt %}
2017
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 "[About storage and bandwidth usage](/github/managing-large-files/about-storage-and-bandwidth-usage)" and "[Managing billing for {% data variables.large_files.product_name_long %}](/billing/managing-billing-for-git-large-file-storage)."
21-
{% endif %}
18+
19+
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 %}.
2220

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

content/github/administering-a-repository/releasing-projects-on-github/about-releases.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You can receive notifications when new releases are published in a repository wi
2727

2828
Anyone with read access to a repository can view and compare releases, but only people with write permissions to a repository can manage releases. For more information, see "[Managing releases in a repository](/github/administering-a-repository/managing-releases-in-a-repository)."
2929

30-
{% ifversion fpt or ghes > 3.0 or ghae %}
30+
{% ifversion fpt %}
3131
People with admin permissions to a repository can choose whether {% data variables.large_files.product_name_long %} ({% data variables.large_files.product_name_short %}) objects are included in the ZIP files and tarballs that {% data variables.product.product_name %} creates for each release. For more information, see "[Managing {% data variables.large_files.product_name_short %} objects in archives of your repository](/github/administering-a-repository/managing-git-lfs-objects-in-archives-of-your-repository)."
3232
{% endif %}
3333

content/github/administering-a-repository/releasing-projects-on-github/managing-releases-in-a-repository.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ shortTitle: Manage releases
2424

2525
{% ifversion fpt %}
2626
You can also publish an action from a specific release in {% data variables.product.prodname_marketplace %}. For more information, see "<a href="/actions/creating-actions/publishing-actions-in-github-marketplace" class="dotcom-only">Publishing an action in the {% data variables.product.prodname_marketplace %}</a>."
27-
{% endif %}
2827

2928
You can choose whether {% data variables.large_files.product_name_long %} ({% data variables.large_files.product_name_short %}) objects are included in the ZIP files and tarballs that {% data variables.product.product_name %} creates for each release. For more information, see "[Managing {% data variables.large_files.product_name_short %} objects in archives of your repository](/github/administering-a-repository/managing-git-lfs-objects-in-archives-of-your-repository)."
3029
{% endif %}
30+
{% endif %}
3131

3232
{% ifversion fpt or ghae or ghes %}
3333
{% tip %}

content/github/managing-large-files/versioning-large-files/about-storage-and-bandwidth-usage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ For example:
2020
- If you push a 500 MB file to {% data variables.large_files.product_name_short %}, you'll use 500 MB of your allotted storage and none of your bandwidth. If you make a 1 byte change and push the file again, you'll use another 500 MB of storage and no bandwidth, bringing your total usage for these two pushes to 1 GB of storage and zero bandwidth.
2121
- If you download a 500 MB file that's tracked with LFS, you'll use 500 MB of the repository owner's allotted bandwidth. If a collaborator pushes a change to the file and you pull the new version to your local repository, you'll use another 500 MB of bandwidth, bringing the total usage for these two downloads to 1 GB of bandwidth.
2222

23-
{% ifversion fpt or ghes > 3.0 %}
23+
{% ifversion fpt %}
2424
If {% data variables.large_files.product_name_long %} ({% data variables.large_files.product_name_short %}) objects are included in source code archives for your repository, downloads of those archives will count towards bandwidth usage for the repository. For more information, see "[Managing {% data variables.large_files.product_name_short %} objects in archives of your repository](/github/administering-a-repository/managing-git-lfs-objects-in-archives-of-your-repository)."
2525
{% endif %}
2626

content/github/managing-large-files/versioning-large-files/configuring-git-large-file-storage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ If there are existing files in your repository that you'd like to use {% data va
6060

6161
## Further reading
6262

63-
- "[Collaboration with {% data variables.large_files.product_name_long %}](/articles/collaboration-with-git-large-file-storage/)"{% ifversion fpt or ghes > 3.0 or ghae %}
63+
- "[Collaboration with {% data variables.large_files.product_name_long %}](/articles/collaboration-with-git-large-file-storage/)"{% ifversion fpt %}
6464
- "[Managing {% data variables.large_files.product_name_short %} objects in archives of your repository](/github/administering-a-repository/managing-git-lfs-objects-in-archives-of-your-repository)"{% endif %}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
{% ifversion fpt or ghes > 3.0 or ghae %}
1+
{% ifversion fpt %}
22
You can choose whether {% data variables.large_files.product_name_short %} objects are included in source code archives, such as ZIP files and tarballs, that {% data variables.product.product_name %} creates for your repository. For more information, see "[Managing {% data variables.large_files.product_name_short %} objects in archives of your repository](/github/administering-a-repository/managing-git-lfs-objects-in-archives-of-your-repository)."
33
{% endif %}

0 commit comments

Comments
 (0)