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

  • git rm -r --cached .
  • git add .
  • git commit -m "comment"

不要忘记 .

转载于:https://juejin.im/post/5cfdb57df265da1bcc193579

猜你喜欢

转载自blog.csdn.net/weixin_34146986/article/details/91438436