github.com/x-oss-byte/git-lfs@v2.5.2+incompatible/docs/man/git-lfs-checkout.1.ronn (about) 1 git-lfs-checkout(1) -- Update working copy with file content if available 2 ========================================================================= 3 4 ## SYNOPSIS 5 6 `git lfs checkout` <filespec>... 7 8 ## DESCRIPTION 9 10 This command is deprecated, and should be replaced with `git checkout`. 11 12 Try to ensure that the working copy contains file content for Git LFS objects 13 for the current ref, if the object data is available. Does not download any 14 content, see git-lfs-fetch(1) for that. 15 16 Checkout scans the current ref for all LFS objects that would be required, then 17 where a file is either missing in the working copy, or contains placeholder 18 pointer content with the same SHA, the real file content is written, provided 19 we have it in the local store. Modified files are never overwritten. 20 21 Filespecs can be provided as arguments to restrict the files which are updated. 22 23 ## EXAMPLES 24 25 * Checkout all files that are missing or placeholders 26 27 `git lfs checkout` 28 29 * Checkout a specific couple of files 30 31 `git lfs checkout path/to/file1.png path/to.file2.png` 32 33 ## SEE ALSO 34 35 git-lfs-fetch(1), git-lfs-pull(1). 36 37 Part of the git-lfs(1) suite. 38