-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Never include .git folders in package root
Git folders are in the default ignore set. However, occasionally git can create a file named 'readme', or another of npm's 'always include' filenames. This roots the always-include filename set to the root with a /, and also avoids even walking the root's .git folder. (Git folders can still be included explicitly deeper in the package, if they are included in a package.json files list, or un-ignored in a .gitignore or .npmignore.)
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters