美文网首页
github push超大文件

github push超大文件

作者: 朱传武 | 来源:发表于2021-10-27 11:06 被阅读0次
image.png

1、

git filter-branch --force --index-filter \
  "git rm --cached --ignore-unmatch android/app/release/app-release.apk" \
  --prune-empty --tag-name-filter cat -- --all

2、push即可(可以把路径添加到ignore里面,要不下回打包还是会有问题)

git push origin --force --all

相关文章

网友评论

      本文标题:github push超大文件

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