1GIT-LFS-INSTALL(1)                                          GIT-LFS-INSTALL(1)
2
3
4

NAME

6       git-lfs-install - Install Git LFS configuration.
7

SYNOPSIS

9       git lfs install options
10

DESCRIPTION

12       Perform the following actions to ensure that Git LFS is setup properly:
13
14       ·   Set  up  the  clean  and smudge filters under the name "lfs" in the
15           global Git config.
16
17       ·   Install a pre-push hook to run git-lfs-pre-push(1) for the  current
18           repository,  if run from inside one. If "core.hooksPath" is config‐
19           ured in any Git configuration (and supported, i.e.,  the  installed
20           Git  version  is  at  least  2.9.0), then the pre-push hook will be
21           installed to that directory instead.
22
23
24

OPTIONS

26       Without any options, git lfs install will only setup the  "lfs"  smudge
27       and clean filters if they are not already set.
28
29       --force
30              Sets  the  "lfs"  smudge and clean filters, overwriting existing
31              values.
32
33       --local
34              Sets the "lfs" smudge and clean filters  in  the  local  reposi‐
35              tory´s  git config, instead of the global git config (~/.gitcon‐
36              fig).
37
38       --manual
39              Print instructions for manually updating your hooks  to  include
40              git-lfs  functionality. Use this option if git lfs install fails
41              because of existing hooks and you want to retain their function‐
42              ality.
43
44       --system
45              Sets  the  "lfs" smudge and clean filters in the system git con‐
46              fig, e.g.  /etc/gitconfig  instead  of  the  global  git  config
47              (~/.gitconfig).
48
49       --skip-smudge
50              Skips  automatic  downloading  of objects on clone or pull. This
51              requires a manual "git lfs pull" every  time  a  new  commit  is
52              checked out on your repository.
53
54       --skip-repo
55              Skips  setup  of  the local repo; use if you want to install the
56              global lfs filters but not make changes to the current repo.
57

SEE ALSO

59       git-lfs-uninstall(1).
60
61       Part of the git-lfs(1) suite.
62
63
64
65                                  April 2019                GIT-LFS-INSTALL(1)
Impressum