Git LFS
提示
Git LFS stands for Git Large File Storage, a tool used to effectively manage large binary files. It allows developers to separate large files from the code repository, such as images, audio, video, and data files, storing them in a separate storage area and keeping only references to the files in the repository. This avoids the repository becoming too large due to each save's diff, speeds up the cloning and downloading of the repository, and ensures that version control of large files does not cause performance issues.
With Git LFS, you can achieve:
- Separating large files: LFS allows large files to be separated from the code repository and stored in a different location
- Version control: LFS still provides version control, but only keeps file references in the repository to avoid it becoming too large
- High performance: LFS can speed up the cloning and downloading of the repository because it doesn't need to transfer large files every time
- File locking: LFS supports file locking to prevent conflicts caused by multiple users editing large files at the same time
