
GIT LFS NOT PULLING FILES INSTALL
You don't have to install anything else! Tracking a File with LFS Good news if you're using the Tower desktop GUI: all recent versions of the app already include LFS. To finish the installation, you need to run the "install" command once to complete the initialization: $ git lfs install
GIT LFS NOT PULLING FILES CODE
Everything else will be downloaded on demand.īefore we get our hands dirty installing and actually using LFS there's one last thing to do: please check if your code hosting service of choice supports LFS. That way, you only have the file data on disk that is necessary for you at the moment.

The LFS Cache tries to look up the file by its pointer if it doesn't have it already, it requests it from the remote LFS Store. It will then ask the local LFS Cache to deliver it. Whenever Git in your local repository encounters an LFS-managed file, it will only find a pointer - not the file's actual data. On the remote side of things, an LFS store saves and delivers all of those large files on demand.

The actual file data, therefore, has to be located somewhere else: in the LFS cache that now accompanies your local Git repository.
GIT LFS NOT PULLING FILES DOWNLOAD
When a coworker clones that repository to her local machine, she will need to download a huge amount of data. After a couple of iterations, your local repository will quickly weigh tons of Megabytes and soon Gigabytes. When you make a change to this file (no matter how tiny it might be), committing this modification will save the complete file (huge as it is) in your repository. Let's say you have a 100 MB Photoshop file in your project. An LFS-enhanced local Git repository will be significantly smaller in size because it breaks one basic rule of Git in an elegant way: it does not keep all of the project's data in your local repository. This problem in mind, Git's standard feature set was enhanced with the "Large File Storage" extension - in short: "Git LFS". Most annoyingly, the majority of this huge amount of data is probably useless for you: most of the time, you don't need each and every version of a file on your disk. Working with large binary files can be quite a hassle: they bloat your local repository and leave you with Gigabytes of data on your machine.


Learn on: Desktop GUI | Command Line Language: EN Handling Large Files with LFS
