美文网首页
git将大文件加入lfs

git将大文件加入lfs

作者: 王zuozuo | 来源:发表于2017-06-20 17:19 被阅读43次
  1. mac下用homebrew安装:
brew install git-lfs
  1. 初始化
git lfs install
  1. 添加track规则
git lfs track "*.a"
  1. 将.gitattributes加入到版本控制中
git add .gitattributes
git commit -m "add .gitattributes"
git push

相关文章

网友评论

      本文标题:git将大文件加入lfs

      本文链接:https://www.haomeiwen.com/subject/mlkaqxtx.html