repo --partial-clone and interactions with git-lfs

17 views
Skip to first unread message

Michael Devine

unread,
Aug 28, 2025, 4:31:33 PM (10 days ago) Aug 28
to Repo and Gerrit Discussion
I've recently started looking into using --partial-clone to reduce the cost of non-text files in my git projects. In the past, I've used git-lfs in some of my projects so that I can store the binary artifacts outside of the git repository and fetch them as needed.

Unfortunately, when I try to use --partial-clone, I start seeing failures in the projects that use LFS because git-lfs is not yet implemented to work with partial clones.

In general, I only want to use partial cloning in the projects where I don't currently use LFS, and over time, I'll transition projects from using LFS to using partial clones. Is there some way to tell repo init to only use partial cloning on a subset of projects? Perhaps via --groups?
Reply all
Reply to author
Forward
0 new messages