在我们开发完成的时候每次都要删除node才提交代码,总不能吧node也提到远程仓库吧,所以只要用我下方的代码,直接引用就可以
文件命名
其代码
# Build and Release Folders
bin-debug/
bin-release/
[Oo]bj/
[Bb]in/
# Other files and folders
.settings/
/unpackage
/node_modules
##ignore this file##
/config/
/unpackage
/node_modules
# Executables
*.swf
*.air
*.ipa
*.apk
# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties`
# should NOT be excluded as they contain compiler settings and other important
# information for Eclipse / Flash Builder.
我也不知道原理,能用就行 哈哈哈