-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #495 from Automattic/feature/gitattributes
chore: Add `.gitattributes` file
- Loading branch information
Showing
1 changed file
with
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# Exclude files from release archives. | ||
# This will also make them unavailable when using Composer with `--prefer-dist`. | ||
# If you develop for VIPCS using Composer, use `--prefer-source`. | ||
# https://blog.madewithlove.be/post/gitattributes/ | ||
# | ||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.phpcs.xml.dist export-ignore | ||
/.travis.yml export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/.github export-ignore | ||
/bin export-ignore | ||
/tests export-ignore | ||
/WordPressVIPMinimum/Tests export-ignore | ||
|
||
# | ||
# Auto detect text files and perform LF normalization | ||
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/ | ||
# | ||
* text=auto | ||
|
||
# | ||
# The above will handle all files NOT found below | ||
# | ||
*.md text | ||
*.php text | ||
*.inc text |