Skip to content

Commit d79a88b

Browse files
committed
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.
1 parent 07e4992 commit d79a88b

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

Node.gitignore

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,28 @@
1-
lib-cov
2-
*.seed
1+
# Semi-general patterns
2+
3+
## Logs
4+
logs
35
*.log
6+
7+
## Runtime data
8+
pids
9+
*.pid
10+
*.seed
11+
12+
## Run / build output
13+
results
414
*.csv
515
*.dat
616
*.out
7-
*.pid
817
*.gz
918

10-
pids
11-
logs
12-
results
13-
build
19+
# JS-specific patterns
20+
21+
## Directory for files generated by jscoverage/JSCover
22+
lib-cov
23+
24+
# Node-specific patterns
1425

26+
## You may want to comment this out in certain scenarios:
27+
## see http://www.futurealoof.com/posts/nodemodules-in-git.html
1528
node_modules

0 commit comments

Comments
 (0)