From d79a88b29f279d9b6614f790d1d2217350777b46 Mon Sep 17 00:00:00 2001 From: "Stuart P. Bentley" Date: Thu, 2 Jan 2014 20:02:57 -0500 Subject: [PATCH] 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. --- Node.gitignore | 27 ++++++++++++++++++++------- 1 file 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