git 取消对某个文件的跟踪

git rm --cached  <fileName>

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

相关文章
相关标签/搜索