1GIT-LFS-PULL(1)             General Commands Manual            GIT-LFS-PULL(1)
2
3
4

NAME

6       git-lfs-pull - Download all Git LFS files for current ref & checkout
7

SYNOPSIS

9       git lfs pull [options] [remote]
10

DESCRIPTION

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

OPTIONS

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

INCLUDE AND EXCLUDE

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

DEFAULT REMOTE

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

SEE ALSO

48       git-lfs-fetch(1), git-lfs-checkout(1).
49
50       Part of the git-lfs(1) suite.
51
52
53
54                                 February 2022                 GIT-LFS-PULL(1)
Impressum