git-lfs-install man page

git-lfs-install — Install Git LFS configuration.

Synopsis

git lfs install options

Description

Perform the following actions to ensure that Git LFS is setup properly:

Options

Without any options, git lfs install will only setup the "lfs" smudge and clean filters if they are not already set.

--force

Sets the "lfs" smudge and clean filters, overwriting existing values.

--local

Sets the "lfs" smudge and clean filters in the local repository´s git config, instead of the global git config (~/.gitconfig).

--manual

Print instructions for manually updating your hooks to include git-lfs functionality. Use this option if git lfs install fails because of existing hooks and you want to retain their functionality.

--system

Sets the "lfs" smudge and clean filters in the system git config, e.g. /etc/gitconfig instead of the global git config (~/.gitconfig).

--skip-smudge

Skips automatic downloading of objects on clone or pull. This requires a manual "git lfs pull" every time a new commit is checked out on your repository.

--skip-repo

Skips setup of the local repo; use if you want to install the global lfs filters but not make changes to the current repo.

See Also

git-lfs-uninstall(1).

Part of the git-lfs(1) suite.

Referenced By

git-lfs(1), git-lfs-clean(1), git-lfs-config(5), git-lfs-filter-process(1), git-lfs-smudge(1), git-lfs-track(1), git-lfs-uninstall(1), git-lfs-untrack(1).

July 2019