9.6.2021 |

Large file in Git with Git LFS

Git was built for versioning source code and uses diffs for tracking changes. This does not perform too well with some large binary file types. Downloading multiple revisions of large files increase the clone and fetch times for all developers.

One solution to combat this is Git Large File Storage (LFS). This extension for Git hooks itself into the normal Git workflow and instead of committing changes of large files into Git they are replaced with a reference. This is done seamlessly for all file types you configure GIT LFS to intercept in your repository/project. The real file is uploaded to a separate file storage system. This way cloning or fetching a repository stays fast as not every version of a large file is downloaded. Only when a specific revision is needed the reference is resolved and the file is downloaded from the file storage system.

All our Gitlab projects support this and it can be enabled in the projects configuration. Instructions on how to install and use Git LFS are listed on the project's homepage.

We are already useing Git LFS in our internal Book for storing embedded videos (.gitattributes).

Zur Übersicht

Mehr vom Devsquad...

Tim Tilch

CSS Feature: @supports

Jan Sauer

Blazing fast typescript with esbuild

Wir freuen uns, Sie kennen zu lernen

Hat Sie unser Angebot überzeugt? Dann freuen wir uns, Sie kennen zu lernen. Kontaktieren Sie uns gerne für ein unverbindliches Erstgespräch.
newcubator GmbH
Freie-Vogel-Straße 369
44269 Dortmund
+49 231/586 873 80
newcubator GmbH
Bödekerstraße 22
30161 Hannover
+49 511/957 313 00