mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-08 01:46:02 +02:00

Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
749 B
749 B
git lfs
Work with large files in Git repositories. More information: https://github.com/git-lfs/git-lfs/tree/main/docs.
- Initialize Git LFS:
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|--file]}} .lfsconfig lfs.url {{lfs_endpoint_url}}
- List tracked patterns:
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