commands.sh

git lfs

all

Work with large files in Git repositories.

More info →

Options (1)

-f, --fileboolean

Change the Git LFS endpoint URL (useful if the LFS server is separate from the Git server)

Example: git config {{[-f|--file]}} .lfsconfig lfs.url {{lfs_endpoint_url}}

Examples (8)

Initialize Git LFS

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

Replace pointer files with actual Git LFS objects

git lfs checkout
made by @shridhargupta | data from tldr-pages