0

I have some questions:

  • What are advantages of using Git LFS over simple Git for storing large files in repo?

  • What is the maximum size of file that Git LFS can store upto?

  • What are the cons of using Git LFS?

Biffen
  • 6,249
  • 6
  • 28
  • 36
Waleed Farrukh
  • 205
  • 1
  • 10
  • 1
    I feel like most of this is answered here: https://stackoverflow.com/questions/35575400/what-is-the-advantage-of-git-lfs – Kim Dec 05 '22 at 10:16
  • 1
    One relevant drawback is that since you no longer have the complete history locally you can run into situations where you can't check out an old commit fully while you're offline. Given the always-connected nature of most software development, I suspect that this rarely comes up, but it's something to keep in mind. – Joachim Sauer Dec 05 '22 at 10:20
  • Note that if and when you do use Git-LFS, Git itself is *not aware of this*. The LFS wrappers hide the "large" files from Git, replacing them with "pointer files". I put "large" in quotes because these files need not actually be particularly large, though that's usually the reason for storing such files on a separate LFS server. – torek Dec 05 '22 at 21:32

0 Answers0