github.com/psexton/git-lfs@v2.1.1-0.20170517224304-289a18b2bc53+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 Try to ensure that the working copy contains file content for Git LFS objects 11 for the current ref, if the object data is available. Does not download any 12 content, see git-lfs-fetch(1) for that. 13 14 Checkout scans the current ref for all LFS objects that would be required, then 15 where a file is either missing in the working copy, or contains placeholder 16 pointer content with the same SHA, the real file content is written, provided 17 we have it in the local store. Modified files are never overwritten. 18 19 Filespecs can be provided as arguments to restrict the files which are updated. 20 21 ## EXAMPLES 22 23 * Checkout all files that are missing or placeholders 24 25 `git lfs checkout` 26 27 * Checkout a specific couple of files 28 29 `git lfs checkout path/to/file1.png path/to.file2.png` 30 31 ## SEE ALSO 32 33 git-lfs-fetch(1), git-lfs-pull(1). 34 35 Part of the git-lfs(1) suite. 36