1GIT-LFS-PULL(1) 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
39 Without arguments, pull downloads from the default remote. The default
40 remote is the same as for git pull, i.e. based on the remote branch
41 you´re tracking first, or origin otherwise.
42
44 git-lfs-fetch(1), git-lfs-checkout(1).
45
46 Part of the git-lfs(1) suite.
47
48
49
50 March 2021 GIT-LFS-PULL(1)