git 管理大型文件
常用命令
开启lfs
brew install git-lfs
git lfs install
使用git lfs
git lfs track "*.a"git addgit commitgit lfs push origin
查看lfs状态
git lfs ls-filesgit lfs status
命令帮助
git lfs help
###异常情况
error: external filter git-lfs smudge -- %f failedfatal: UALibs/UACalypsoSDK.framework/Headers/Petra.h: smudge filter lfs failedawesome:mapap knight.lu$ git checkout -f HEAD
git lfs install --skip-smudgegit clone git lfs pullgit checkout -f HEAD
###参考链接
https://github.com/git-lfs/git-lfs/wiki/Tutorialhttps://github.com/git-lfs/git-lfs/issues/911