码迷,mamicode.com
首页 > 其他好文 > 详细

git取消【删除】已经提交的文件(夹)跟踪

时间:2019-10-31 18:01:21      阅读:86      评论:0      收藏:0      [点我收藏+]

标签:col   cached   并且   span   pre   提交   style   删除本地文件   --   

git rm -r --cached <fold> 不删除本地文件

git rm -r --f <fold> 删除本地文件

git rm --cached <file> 不删除本地文件,仅仅不再跟踪文件

git rm --f <file> 删除本地文件,并且不再跟踪文件

git取消【删除】已经提交的文件(夹)跟踪

标签:col   cached   并且   span   pre   提交   style   删除本地文件   --   

原文地址:https://www.cnblogs.com/studywithallofyou/p/11772684.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!