美文网首页
Git 中 remote: Please remove the

Git 中 remote: Please remove the

作者: JoeWcc | 来源:发表于2023-10-23 10:01 被阅读0次

1: 根据提示命令找出需要删掉的问题

git rev-list --objects --all | grep cc202ebc20c6576165280a6a360f3ab531d2b766 

2: 找出文件之后进行移除操作

 git filter-branch --force --index-filter  "git rm --cached --ignore-unmatch DynamicApp/Resourse/dvideo.mp4" --prune-empty --tag-name-filter cat -- --all

两步操作即可解决问题

相关文章

网友评论

      本文标题:Git 中 remote: Please remove the

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