git 删除错误提交commit(删除敏感文件)

git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch test/docs/456776898979.apib' --prune-empty --tag-name-filter cat -- --all
 
posted @ 2019-12-05 15:37  古芗  阅读(578)  评论(0编辑  收藏  举报