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

git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch test/docs/456776898979.apib' --prune-empty --tag-name-filter cat -- --all
 

猜你喜欢

转载自www.cnblogs.com/Rmean/p/11989723.html