Large File Storage
Git is designed and optimized for working with plain text files and tracking changes from version to version. However, you might want to store other things than just text files into source control. Examples are images or binary files that should be included with your application at runtime. While these are valid use cases, out of the box they do not work very well with Git. To fix this, Large File Storage (LFS) was introduced.
Git LFS allows you to store, instead of the binary files themselves, a small text file that acts as a pointer to that file. Such a file contains a hash of the file so that the client can download the file when cloning or fetching changes and update the file when you update the binary file.
To work ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access