The Wayback Machine - https://web.archive.org/web/20250407172907/https://github.com/nodejs/node/commit/0be56cd1e9
Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Commit 0be56cd

Browse filesBrowse files
claudiorodriguezMylesBorins
authored andcommitted
meta: whitelist dotfiles in .gitignore
Instead of excluding IDE-specific dotfiles, exclude all and then whitelist those the project needs to track. Refs: #8010 Refs: #9111 Refs: #10052 Fixes: #8012 PR-URL: #8016 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Josh Gavant <josh.gavant@outlook.com>
1 parent 13b1688 commit 0be56cd
Copy full SHA for 0be56cd

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

‎.gitignore

Copy file name to clipboardexpand all lines: .gitignore
+16-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Whitelist dotfiles
2+
.*
3+
!deps/**/.*
4+
!test/fixtures/**/.*
5+
!tools/eslint/**/.*
6+
!tools/doc/node_modules/**/.*
7+
!.editorconfig
8+
!.eslintignore
9+
!.eslintrc
10+
!.gitattributes
11+
!.github
12+
!.gitignore
13+
!.gitkeep
14+
!.mailmap
15+
!.remarkrc
16+
117
core
218
vgcore.*
319
v8*.log
@@ -16,8 +32,6 @@ node
1632
node_g
1733
*.swp
1834
.benchmark_reports
19-
/.project
20-
/.cproject
2135
icu_config.gypi
2236
.eslintcache
2337

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.