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.

 

posted @ 2016-03-12 00:04  标准小兵  阅读(2969)  评论(0)    收藏  举报