Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 3.01 KB

collaboration-with-git-large-file-storage.md

File metadata and controls

49 lines (34 loc) · 3.01 KB
title intro redirect_from versions shortTitle
Collaboration with Git Large File Storage
With {% data variables.large_files.product_name_short %} enabled, you'll be able to fetch, modify, and push large files just as you would expect with any file that Git manages. However, a user that doesn't have {% data variables.large_files.product_name_short %} will experience a different workflow.
/articles/collaboration-with-large-file-storage
/articles/collaboration-with-git-large-file-storage
/github/managing-large-files/collaboration-with-git-large-file-storage
/github/managing-large-files/versioning-large-files/collaboration-with-git-large-file-storage
fpt ghes ghec
*
*
*
Collaboration

If collaborators on your repository don't have {% data variables.large_files.product_name_short %} installed, they won't have access to the original large file. If they attempt to clone your repository, they will only fetch the pointer files, and won't have access to any of the actual data.

{% tip %}

Tip: To help users without {% data variables.large_files.product_name_short %} enabled, we recommend you set guidelines for repository contributors that describe how to work with large files. For example, you may ask contributors not to modify large files, or to upload changes to a file sharing service like Dropbox or Google Drive. For more information, see "AUTOTITLE."

{% endtip %}

Viewing large files in pull requests

{% data variables.product.product_name %} does not render some {% data variables.large_files.product_name_short %} objects in pull requests. Only the pointer file is shown, with contents similar to the following:

+version https://git-lfs.github.com/spec/vi
+id sha256:7194bdd797bde471a6e29b4fa9c8c2278b3c4dadfc5cb2c36d7f4531dc6cb8f
+size 17330

For more information about pointer files, see "AUTOTITLE."

To view changes made to large files, check out the pull request locally to review the diff. For more information, see "AUTOTITLE."

{% ifversion fpt or ghec %}

Pushing large files to forks

Pushing large files to forks of a repository count against the parent repository's bandwidth and storage quotas, rather than the quotas of the fork owner.

You can push {% data variables.large_files.product_name_short %} objects to public forks if the repository network already has {% data variables.large_files.product_name_short %} objects or you have write access to the root of the repository network.

{% endif %}

Further reading