git rm --cached "文件"

参考:

https://blog.csdn.net/kiss_the_sky/article/details/77921206

相关文章: