Git Clone Without Lfs

Git
LFS
skip
smudge
clone
large files
command line
This article provides a detailed explanation on how to clone a Git repository without pulling down large binary files using Git LFS, by utilizing the command `git clone –filter=blob:none `.
Published

January 11, 2024


lfs download is mandatory while doing git clone

skip with:

env GIT_LFS_SKIP_SMUDGE=1 git clone --filter=blob:none <repo_url>