git filter-branch -f --prune-empty --index-filter 'git rm -rf --cached --ignore-unmatch your file name' --tag-name-filter cat -- --all