git .gitignore 忽略他自个儿 .gitignore
git .gitignore 忽略他自己 .gitignore
若是新的.gitignore
- 新建.gitignore
- 在.gitignore里面添加.gitignore
- 即可忽略它自己
若是已提交的.gitignore
- git rm --cached
- 在.gitignore里面添加.gitignore
- 即可忽略它自己
参考:https://help.github.com/articles/ignoring-files/