git rm -r -n --cached "bin/" //-n:加上这个参数,执行命令时,是不会删除任何文件,而是展示此命令要删除的文件列表预览。

git rm -r --cached "bin/" //最终执行命令.

git commit -m" remove bin folder all file out of control" //提交

git push origin master //提交到远程服务器

 

 

 

本文来自 :https://blog.csdn.net/u014290233/article/details/52922688?utm_source=copy

 posted on 2018-09-21 15:32  ziye.cc  阅读(218)  评论(0编辑  收藏  举报