0

I installed lfs on my bare repo, but now I can't track any files. When I run git lfs track '*.png' I get this error This operation must be run in a work tree. From what I understand this happens because this repo doesn't have a working directory. How am I supposed to choose which files should be tracked? Should I do it in the clone of this repo? This seems problematic as I will have to do it every time I clone it.

Wojtek Wencel
  • 2,257
  • 6
  • 31
  • 65

0 Answers0