git 彻底删除文件
2022-08-25 16:43:09
https://www.lmlphp.com/user/57790/article/item/615501/
git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch src/main/resources/application-prod.properties' --prune-empty --tag-name-filter cat -- --all
git filter-branch --force --index-filter 'git rm --cached -r --ignore-unmatch doc' --prune-empty --tag-name-filter cat -- --all
git push origin master --force --all
git push origin master --force