git rm --cached logs/xx.log

然后更新 .gitignore 忽略掉目标文件,

最后 git commit -m "We really don't want Git to track this anymore!"

相关文章:

  • 2021-12-03
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2021-06-17
  • 2021-06-09
猜你喜欢
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-02-21
  • 2022-02-07
  • 2021-05-12
相关资源
相似解决方案