美文网首页
为git仓库瘦身

为git仓库瘦身

作者: Shinegalaxy | 来源:发表于2020-02-13 21:11 被阅读0次

git filter-branch --tree-filter 'rm -f WebRoot/WEB-INF/lib/*.jar' --tag-name-filter cat -- --all
git push origin --tags --force
git push origin --all --force

WebRoot/WEB-INF/lib/*.jar是要删除的文件

相关文章

网友评论

      本文标题:为git仓库瘦身

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