Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find which github repos are using LFS

Tags:

git

github

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

like image 557
korCZis Avatar asked Jan 21 '16 16:01

korCZis


1 Answers

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.

like image 61
max Avatar answered Sep 18 '22 01:09

max