Git Large File Storage
2020年5月4日...小于 1 分钟
Git Large File Storage
Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
Getting Started
Download and install the Git command-line extension. Once downloaded and installed, set up Git LFS and its respective hooks by running:
git lfs install
You’ll need to run this in your repository directory, once per repository.
Select the file types you’d like Git LFS to manage (or directly edit your .gitattributes). You can configure file extensions at anytime.
git lfs track "*.psd"
Make sure to track
.gitattributes
git add .gitattributes
Powered by Waline v3.3.2