aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart P. Bentley <stuart@testtrack4.com>2014-01-02 20:02:57 -0500
committerStuart P. Bentley <stuart@testtrack4.com>2014-01-02 20:02:57 -0500
commitd79a88b29f279d9b6614f790d1d2217350777b46 (patch)
treed534dfd300d5c8ce54941f68e4df3adad597fe46
parent07e4992c29fa1f8cab6061c372ed803be415f67f (diff)
downloadgitignore-d79a88b29f279d9b6614f790d1d2217350777b46.tar.gz
gitignore-d79a88b29f279d9b6614f790d1d2217350777b46.zip
Refactor Node.gitignore with comments
The "build" directory is lost in this refactor, as many JS projects do wish to include a minified/concatenated version of their source in the "build" folder in source control.
-rw-r--r--Node.gitignore27
1 files changed, 20 insertions, 7 deletions
diff --git a/Node.gitignore b/Node.gitignore
index c84ba258..31237481 100644
--- a/Node.gitignore
+++ b/Node.gitignore
@@ -1,15 +1,28 @@
-lib-cov
-*.seed
+# Semi-general patterns
+
+## Logs
+logs
*.log
+
+## Runtime data
+pids
+*.pid
+*.seed
+
+## Run / build output
+results
*.csv
*.dat
*.out
-*.pid
*.gz
-pids
-logs
-results
-build
+# JS-specific patterns
+
+## Directory for files generated by jscoverage/JSCover
+lib-cov
+
+# Node-specific patterns
+## You may want to comment this out in certain scenarios:
+## see http://www.futurealoof.com/posts/nodemodules-in-git.html
node_modules