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