更新时间:2023-12-04 21:19:40
我找到了这个答案,它很有帮助:
I have found this answer and it helped:
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch path_to_file" HEAD
在这里找到它 https://myopswork.com /how-move-move-files-from-git-repository-history-47ed3e0c4c35