From the course: Designing and Implementing Source Control using GitHub and Azure DevOps

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Understanding large file storage

Understanding large file storage

- [Instructor] As developers, we often have to deal with large files such as images, videos, or audio files that are too big to store in Git. Storing large files directly in GIT will slow down your repository and make it difficult to manage. To overcome this problem, we can use Git large files storage or LFS for short. Git LFS is an extension for Git that allows you to store large files in a separate location while still tracking their changes in Git. So how does GIT LFS work? When you add a large file to your repository, Git LFS stores the file in a separate location and replaces it with a pointer in the Git repository. This pointer contains location of the actual file, but not the file itself. This means that when you clone or pull from your repository Git LFS will automatically download the actual files and replace the pointers with them. When you push changes to your repository Git LFS will only upload the…

Contents