- mac下用homebrew安裝:
brew install git-lfs
- 初始化
git lfs install
- 添加track規(guī)則
git lfs track "*.a"
- 將.gitattributes加入到版本控制中
git add .gitattributes
git commit -m "add .gitattributes"
git push
brew install git-lfs
git lfs install
git lfs track "*.a"
git add .gitattributes
git commit -m "add .gitattributes"
git push