使用Git bash进入到要忽略的文件所在的文件夹,执行以下命令即可

git update-index --assume-unchanged rebel.xml

参考

Ignore Git files that already exist in the repository

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
  • 2021-05-12
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-07
  • 2022-12-23
  • 2019-10-03
  • 2022-02-21
  • 2022-02-07
  • 2021-07-07
  • 2021-08-25
相关资源
相似解决方案