NYC是否忽略.gitignore中的文件?

时间:2017-05-22 17:24:42

标签: node.js

我有.gitignore个文件忽略了coverage文件夹,所以我认为nyc也排除了此文件,但我找不到任何文件关于那个的文档。

你知道有什么参考吗?

1 个答案:

答案 0 :(得分:-1)

gitignore - 指定要忽略的故意未跟踪文件。,请参阅Git文档

例如:

## generic files to ignore
*~
*.lock
*.DS_Store
*.swp
*.out

# rails specific
*.sqlite3
config/database.yml
log/*
tmp/*

# java specific
*.class

# python specific
*.pyc

# xcode/iphone specific
build/*
*.pbxuser
*.mode2v3
*.mode1v3
*.perspective
*.perspectivev3
*~.nib

# akka specific
logs/*

# sbt specific
target/
project/boot
lib_managed/*
project/build/target
project/build/lib_managed
project/build/src_managed
project/plugins/lib_managed
project/plugins/target
project/plugins/src_managed
project/plugins/project

core/lib_managed
core/target
pubsub/lib_managed
pubsub/target

# eclipse specific
.metadata
jrebel.lic
.settings
.classpath
.project

.ensime*
*.sublime-*
.cache

# intellij
*.eml
*.iml
*.ipr
*.iws
.*.sw?
.idea

# paulp script
/.lib/

derby.log
metastore_db/
spark-dist-jar/target