Skip to content

Commit 6eb7b0c

Browse files
authored
Merge pull request #495 from Automattic/feature/gitattributes
chore: Add `.gitattributes` file
2 parents 41ed334 + 3483648 commit 6eb7b0c

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.gitattributes

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#
2+
# Exclude files from release archives.
3+
# This will also make them unavailable when using Composer with `--prefer-dist`.
4+
# If you develop for VIPCS using Composer, use `--prefer-source`.
5+
# https://blog.madewithlove.be/post/gitattributes/
6+
#
7+
/.editorconfig export-ignore
8+
/.gitattributes export-ignore
9+
/.gitignore export-ignore
10+
/.phpcs.xml.dist export-ignore
11+
/.travis.yml export-ignore
12+
/phpunit.xml.dist export-ignore
13+
/.github export-ignore
14+
/bin export-ignore
15+
/tests export-ignore
16+
/WordPressVIPMinimum/Tests export-ignore
17+
18+
#
19+
# Auto detect text files and perform LF normalization
20+
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
21+
#
22+
* text=auto
23+
24+
#
25+
# The above will handle all files NOT found below
26+
#
27+
*.md text
28+
*.php text
29+
*.inc text

0 commit comments

Comments
 (0)