GIT-LFS-CHECKOUT(1) GIT-LFS-CHECKOUT(1) (NAME) git-lfs-checkout - (SYNOPSIS) git lfs checkout [...] git lfs checkout --to {--base|--ours|--theirs} (DESCRIPTION) (working copy) Git LFS (ref) . git-lfs-fetch(1) . Checkout LFS SHA . . . gitignore(5) . --to Git LFS ( ) . diff . Git LFS . ( ) . 2.42.0 Git LFS Git LFS .gitattributes ( Git LFS gitattributes $GIT_DIR/info/attributes ). . checkout (sparse) Git 2.42.0 .gitattributes HEAD . GIT_ATTR_SOURCE HEAD .gitattributes HEAD . (bare) . bare . (OPTIONS) --base (merge base) . --ours ( ) . --theirs ( ) . --to --base --ours --theirs . (EXAMPLES) o : $ git lfs checkout o : $ git lfs checkout path/to/file1.png path/to.file2.png o : # $ git merge conflicting-branch CONFLICT (content): Merge conflict in path/to/conflicting/file.dat # $ git lfs checkout --to ours.dat --ours path/to/conflicting/file.dat $ git lfs checkout --to theirs.dat --theirs path/to/conflicting/file.dat # ours.dat theirs.dat # ( ) # $ rm ours.dat theirs.dat $ git add path/to/conflicting/file.dat $ git merge --continue (SEE ALSO) git-lfs-fetch(1), git-lfs-pull(1), gitattributes(5), gitignore(5). git-lfs(1). GIT-LFS-CHECKOUT(1)