.gitignore 添加后无效的解决办法

465 阅读1分钟
  • git rm -r --cached .
  • git add .
  • git commit -m "comment"

不要忘记 .