delete all history of one file with sensitive data

一个命令一个命令的敲吧。这个试过是可以work的,记下来, 以备需要。 步骤一: 从你的资料库中清除文件 以Windows下为例(Linux类似), 打开项目的Git Bash,使用命令:  git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch path-to-your-remove-file' --prune-empty --tag-name-filter cat --...