-
Notifications
You must be signed in to change notification settings - Fork 205
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 #951 from Automattic/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 these files from release archives. | ||
# This will also make them unavailable when using Composer with `--prefer-dist`. | ||
# If you develop for CAP using Composer, use `--prefer-source`. | ||
# https://blog.madewithlove.be/post/gitattributes/ | ||
|
||
/.github/ export-ignore | ||
/bin/ export-ignore | ||
/src/__mocks__/ export-ignore | ||
/src/__tests__/ export-ignore | ||
/tests/ export-ignore | ||
/.distignore export-ignore | ||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.phpcs.xml.dist export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/CHANGELOG.md export-ignore | ||
/phpunit.xml.dist export-ignore | ||
|
||
# Auto detect text files and perform LF normalization | ||
# https://pablorsk.medium.com/be-a-git-ninja-the-gitattributes-file-e58c07c9e915 | ||
|
||
* text=auto | ||
|
||
# The above will handle all files NOT found below | ||
|
||
*.md text | ||
*.php text | ||
*.inc text |