git-lfs

Work with large files in Git repositories.

TLDR

Initialise Git LFS

>_ git lfs install
copy

Track files that match a glob

>_ git lfs track '[*.bin]'
copy

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]
copy

List tracked patterns

>_ git lfs track
copy

List tracked files that have been commited

>_ git lfs ls-files
copy

Push all Git LFS objects to the remote server (useful if errors are encountered)

>_ git lfs push --all [remote_name] [branch_name]
copy

Fetch all Git LFS objects

>_ git lfs fetch
copy

Checkout all Git LFS objects

>_ git lfs checkout
copy

Copied to clipboard
free 100$ digital ocean credit