git commit 之后 push 之前,想删除 个别的commit 文件


git rm --cached <file_name>

git commit “删除了<file_name>文件"

git rm --cached <file_name> will remove the file from the stage.

 

原文地址:https://www.cnblogs.com/icenter/p/5267696.html