GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GIT-LFS-PULL(1) GIT-LFS-PULL(1)

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

git lfs pull [options] [remote]

Download Git LFS objects for the currently checked out ref, and update the working copy with the downloaded content if required.

This is equivalent to running the following 2 commands:

git lfs fetch [options] [remote] git lfs checkout

-I paths --include=paths
Specify lfs.fetchinclude just for this invocation; see [INCLUSION & EXCLUSION]
-X paths --exclude=paths
Specify lfs.fetchexclude just for this invocation; see [INCLUSION & EXCLUSION]

You can configure Git LFS to only fetch objects to satisfy references in certain paths of the repo, and/or to exclude certain paths of the repo, to reduce the time you spend downloading things you do not use.

In gitconfig, set lfs.fetchinclude and lfs.fetchexclude to comma-separated lists of paths to include/exclude in the fetch (wildcard matching as per gitignore). Only paths which are matched by fetchinclude and not matched by fetchexclude will have objects fetched for them.

Note that using the command-line options -I and -X override the respective configuration settings. Setting either option to an empty string clears the value.

Without arguments, pull downloads from the default remote. The default remote is the same as for git pull, i.e. based on the remote branch you´re tracking first, or origin otherwise.

git-lfs-fetch(1), git-lfs-checkout(1).

Part of the git-lfs(1) suite.

October 2021

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.