git lfs
Work with large files in Git repositories.
git lfs install
- Track files that match a glob:
git lfs track '{*.bin}'
- Change the Git LFS endpoint URL (useful if the LFS server is separate from the Git server):
git config -f .lfsconfig lfs.url {lfs_endpoint_url}
git lfs track
- List tracked files that have been committed:
git lfs ls-files
- Push all Git LFS objects to the remote server (useful if errors are encountered):
git lfs push --all {remote_name} {branch_name}
- Fetch all Git LFS objects:
git lfs fetch
- Checkout all Git LFS objects:
git lfs checkout
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).