Company
Date Published
Author
Taylor Blau
Word count
284
Language
English
Hacker News points
None

Summary

Git LFS v2.2.0 introduces the git-lfs-migrate command, simplifying the process of incorporating Git Large File Storage (LFS) into repositories, which is particularly useful for managing large files exceeding GitHub's size limits. Users can encounter errors when attempting to push sizable files, as demonstrated by a failed push due to a 1.2 GB file surpassing GitHub's 100 MB limit. The git lfs migrate info command identifies problematic files, while the git lfs migrate import command facilitates their transfer to LFS, allowing for seamless repository updates. This new command can be customized to migrate specific file types, branches, and other criteria, with further details available in the command's documentation and release notes. Taylor Blau, a Principal Software Engineer at GitHub, highlights this feature in the context of his work with Git.