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 [INCLU‐
22 SION & EXCLUSION]
23
24 -X paths --exclude=paths
25 Specify lfs.fetchexclude just for this invocation; see [INCLU‐
26 SION & EXCLUSION]
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 gitconfig, set lfs.fetchinclude and lfs.fetchexclude to comma-sepa‐
34 rated lists of paths to include/exclude in the fetch (wildcard matching
35 as per gitignore). Only paths which are matched by fetchinclude and not
36 matched by fetchexclude will have objects fetched for them.
37
38 Note that using the command-line options -I and -X override the respec‐
39 tive configuration settings. Setting either option to an empty string
40 clears the value.
41
43 Without arguments, pull downloads from the default remote. The default
44 remote is the same as for git pull, i.e. based on the remote branch
45 you´re tracking first, or origin otherwise.
46
48 git-lfs-fetch(1), git-lfs-checkout(1).
49
50 Part of the git-lfs(1) suite.
51
52
53
54 October 2021 GIT-LFS-PULL(1)