• 删除历史commit中的敏感文件
    • 重建分支法:
    • git filter-branch —force —index-filter
    • “git rm —cached —ignore-unmatch -r 文件名或路径” —prune-empty —tag-name-filter cat — —all
      • 注意会同时删除目标目录里面的文件