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

git 取消对某个文件的跟踪

时间:2019-04-11 14:43:37      阅读:123      评论:0      收藏:0      [点我收藏+]

标签:git add   add   跟踪   name   img   vcs   文件的   取消   bsp   

git rm --cached  <fileName>

例如 : git add 后,不想提交在status里的.idea/vcs.xml。操作如下:

技术图片

 

git 取消对某个文件的跟踪

标签:git add   add   跟踪   name   img   vcs   文件的   取消   bsp   

原文地址:https://www.cnblogs.com/cynthia-wuqian/p/10689378.html

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