git 去掉add的文件

git rm --cache 文件名 (不删除本地文件)

git rm --f 文件名 (删除文件)

posted on 2022-07-06 14:58  lydstory  阅读(324)  评论(0)    收藏  举报

导航