1GIT-LFS-PULL(1) General Commands Manual GIT-LFS-PULL(1)
2
3
4
6 git-lfs-pull - Download all Git LFS files for current ref & checkout
7
9 git lfs pull [options] [remote]
10
12 Download Git LFS objects for the currently checked out ref, and update
13 the working copy with the downloaded content if required.
14
15 This is equivalent to running the following 2 commands:
16
17 git lfs fetch [options] [remote] git lfs checkout
18
20 -I paths --include=paths
21 Specify lfs.fetchinclude just for this invocation; see INCLUDE
22 AND EXCLUDE
23
24 -X paths --exclude=paths
25 Specify lfs.fetchexclude just for this invocation; see INCLUDE
26 AND EXCLUDE
27
29 You can configure Git LFS to only fetch objects to satisfy references
30 in certain paths of the repo, and/or to exclude certain paths of the
31 repo, to reduce the time you spend downloading things you do not use.
32
33 In your Git configuration or in a .lfsconfig file, you may set either
34 or both of lfs.fetchinclude and lfs.fetchexclude to comma-separated
35 lists of paths. If lfs.fetchinclude is defined, Git LFS objects will
36 only be fetched if their path matches one in that list, and if
37 lfs.fetchexclude is defined, Git LFS objects will only be fetched if
38 their path does not match one in that list. Paths are matched using
39 wildcard matching as per gitignore(5).
40
41 Note that using the command-line options -I and -X override the respec‐
42 tive configuration settings. Setting either option to an empty string
43 clears the value.
44
46 Without arguments, pull downloads from the default remote. The default
47 remote is the same as for git pull, i.e. based on the remote branch
48 you´re tracking first, or origin otherwise.
49
51 git-lfs-fetch(1), git-lfs-checkout(1), gitignore(5).
52
53 Part of the git-lfs(1) suite.
54
55
56
57 May 2022 GIT-LFS-PULL(1)