Today I Learned

Big files version control using Git Large File Storage

On our project we performed a full back up of entries on Contentful and downloaded all its assets. The assets together were about 150MB so we decided to compress them in a .zip and push it to GitHub. Unfortunately we encountered a warning that the upload limit for one file is 100MB and the git push got aborted. To solve it, we could just push the images without compressing them or…

Git Large File Storage to the rescue. Install it using your favourite tool > guide here < and all you need to do is specify the file extension that you are interested in using git lfs track "*.zip" (zip in our case, can be any other extension). All you need to do after that is just follow standard git procedure, but from now on you won’t be limited with big file uploads.