github.com/x-oss-byte/git-lfs@v2.5.2+incompatible/docs/man/git-lfs-pull.1.ronn (about) 1 git-lfs-pull(1) -- Download all Git LFS files for current ref & checkout 2 ======================================================================== 3 4 ## SYNOPSIS 5 6 `git lfs pull` [options] [<remote>] 7 8 ## DESCRIPTION 9 10 Download Git LFS objects for the currently checked out ref, and update 11 the working copy with the downloaded content if required. 12 13 This is equivalent to running the following 2 commands: 14 15 git lfs fetch [options] [<remote>] 16 git lfs checkout 17 18 ## OPTIONS 19 20 * `-I` <paths> `--include=`<paths>: 21 Specify lfs.fetchinclude just for this invocation; see [INCLUSION & EXCLUSION] 22 23 * `-X` <paths> `--exclude=`<paths>: 24 Specify lfs.fetchexclude just for this invocation; see [INCLUSION & EXCLUSION] 25 26 ## INCLUSION & EXCLUSION 27 28 You can configure Git LFS to only fetch objects to satisfy references in certain 29 paths of the repo, and/or to exclude certain paths of the repo, to reduce the 30 time you spend downloading things you do not use. 31 32 In gitconfig, set lfs.fetchinclude and lfs.fetchexclude to comma-separated lists 33 of paths to include/exclude in the fetch (wildcard matching as per gitignore). 34 Only paths which are matched by fetchinclude and not matched by fetchexclude 35 will have objects fetched for them. 36 37 ## DEFAULT REMOTE 38 39 Without arguments, pull downloads from the default remote. The default remote is 40 the same as for `git pull`, i.e. based on the remote branch you're tracking 41 first, or origin otherwise. 42 43 ## SEE ALSO 44 45 git-lfs-fetch(1), git-lfs-checkout(1). 46 47 Part of the git-lfs(1) suite.