音声、動画、画像等の大きなファイルを扱う際に入れておくとgit clone
、git push
、git pull
の時間を短縮してくれます。
brew install git-lfs
git lfs install
git lfs version
git lfs help
git lfs track [ファイルパス]
git lfs track "hoge/fuga/test.png"
git lfs track "hoge/fuga/*"
git lfs track "*.png"
git lfs track
.gitattributes
に設定が保持されます。
このファイルを共有することで、LFSの設定を共有できます。