Git永久删除文件和历史记录

git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch 你的文件' --prune-empty --tag-name-filter cat -- --all

posted @ 2020-07-25 10:37  拍片哥  阅读(175)  评论(0编辑  收藏  举报