gitgithub

How to find which github repos are using LFS


How can I find which of my repos are using github LFS ?


Solution

  • You can just search your organization for .gitattributes files which mention lfs like so:

    org:YOUR_ORG_NAME_HERE filename:.gitattributes "lfs"
    

    (Copy this into GitHub's search field.)

    Background is, Git LFS seems to tell git about which files are stored in LFS by putting some filters and other attributes for the LFS tracked files into the .gitattributes file.

    I know this answer comes a bit late, but maybe it helps someone else when running into the same problem.