GIT LFS: Get the complete list from the whole repository

Emeric Verschuur picture Emeric Verschuur · Sep 11, 2017 · Viewed 8.6k times · Source

I have only found git lfs ls-files but this command give only the list from a specific ref.

There is a way to have the whole list of LFS object from a GIT repository?

Answer

FearlessHyena picture FearlessHyena · Mar 16, 2020

You can do this in Git LFS v2.4.0 and later using the --all flag

git lfs ls-files --all

You can read more about it in this pull request