有这样一个命令 用来移除.git
中对文件的引用
git filter-branch --force --index-filter "git rm --cached --ignore-unmatch 'data/bigfile'" --prune-empty --tag-name-filter cat -- --all
我想在其中的data/bigfile
处移除多个文件夹路径或者文件 ,请问该怎么写呢?
先谢谢帮忙看这个问题。
https://git-scm.com/docs/git-filter-branch
https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History
git rm -rf