.gitignore not ignoring package.json

This question already has an answer here:

  • Ignore files that have already been committed to a Git repository [duplicate] 21 answers

  • 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桌面正在提交被忽略的文件

    下一篇: .gitignore不会忽略package.json