Is there any simple and fast way to tell whether a git repo has used LFS

Viewed 257

I want to set up my env and install git-lfs only if it is necessary based on whether this is file in the repo uses LFS. Is there lightweight, fast and easy way to check it?

thx

1 Answers

found an easy way. just check whether '.git/objects' folder exists

Related