Skip to main content

git filter-branch --index-filter 'git rm --cached --ignore-unmatch yarr/data/yarr.db' --prune-empty -- --all#Script从Git仓库的整个历史(所有分支和标签)中,永久删除文件 yarr/data/yarr.db,但不会删除你当前工作目录中的该文件

  1. git filter-branch --index-filter 'git rm --cached --ignore-unmatch yarr/data/yarr.db' --prune-empty -- --all

    #Script
    从Git仓库的整个历史(所有分支和标签)中,永久删除文件 yarr/data/yarr.db,但不会删除你当前工作目录中的该文件。
OKHK