Install git-lfs in MacOS
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.
1. Download git-lfs from https://git-lfs.github.com/
2. Extract tarball: $tar zxvf git-lfs-darwin-amd64-v2.10.0.tar.gz
3. Run install script: $sudo ./install.sh
4. Allow git-lfs app from Menu > System Preferences > Security & Privacy > allow git-lfs
5. Intsall git-lfs from git: $git lfs install
This guide installs Git Large File Storage on macOS. Git LFS replaces large files such as audio, video, datasets, and graphics with small text pointers in the repository, while the real content lives on a remote store.
Keeping big binaries out of the main history keeps clones fast and the repo manageable. After installing, you run git lfs install once and then track the file types you want it to handle.

Comments
Post a Comment