git rm --cached  <fileName>

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

git 取消对某个文件的跟踪

 

相关文章:

  • 2021-12-09
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
  • 2021-05-20
猜你喜欢
  • 2022-02-26
  • 2022-12-23
  • 2021-06-07
  • 2021-11-07
  • 2021-11-19
相关资源
相似解决方案