.gitignore not ignoring package.json
This question already has an answer here:
If you already are tracking a file, you can't add it to .gitignore
. Then git will start to track that file changes.
You can look at this answer to how to tell git to ignore changes in a tracked file.
链接地址: http://www.djcxy.com/p/23408.html上一篇: GitHub桌面正在提交被忽略的文件