.\" generated with Ronn-NG/v0.8.0 .\" http://github.com/apjanke/ronn-ng/tree/0.8.0 .TH "GIT\-LFS\-INSTALL" "1" "January 2020" "" "" .SH "NAME" \fBgit\-lfs\-install\fR \- Install Git LFS configuration\. .SH "SYNOPSIS" \fBgit lfs install\fR \fI\%#OPTIONS\fR .SH "DESCRIPTION" Perform the following actions to ensure that Git LFS is setup properly: .IP "\[ci]" 4 Set up the clean and smudge filters under the name "lfs" in the global Git config\. .IP "\[ci]" 4 Install a pre\-push hook to run git\-lfs\-pre\-push(1) for the current repository, if run from inside one\. If "core\.hooksPath" is configured in any Git configuration (and supported, i\.e\., the installed Git version is at least 2\.9\.0), then the pre\-push hook will be installed to that directory instead\. .IP "" 0 .SH "OPTIONS" Without any options, \fBgit lfs install\fR will only setup the "lfs" smudge and clean filters if they are not already set\. .TP \fB\-\-force\fR Sets the "lfs" smudge and clean filters, overwriting existing values\. .TP \fB\-\-local\fR Sets the "lfs" smudge and clean filters in the local repository\'s git config, instead of the global git config (~/\.gitconfig)\. .TP \fB\-\-manual\fR Print instructions for manually updating your hooks to include git\-lfs functionality\. Use this option if \fBgit lfs install\fR fails because of existing hooks and you want to retain their functionality\. .TP \fB\-\-system\fR Sets the "lfs" smudge and clean filters in the system git config, e\.g\. /etc/gitconfig instead of the global git config (~/\.gitconfig)\. .TP \fB\-\-skip\-smudge\fR 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\. .TP \fB\-\-skip\-repo\fR Skips setup of the local repo; use if you want to install the global lfs filters but not make changes to the current repo\. .SH "SEE ALSO" git\-lfs\-uninstall(1)\. .P Part of the git\-lfs(1) suite\.