📅  最后修改于: 2022-03-11 14:49:35.949000             🧑  作者: Mango
# if you want to just remove from latest commit
git rm -r --cached
# if you want to remove from all commit history
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch ' HEAD