[.gitattributes] Exclude files from git archive
Files with the option "export-ignore" are excluded from "git archive" commands. Release files from GitHub will also ignore those files, so packages are smaller and don't include unneccessary files.
This commit is contained in:
parent
7b261d1cc2
commit
e09f452426
1 changed files with 14 additions and 0 deletions
14
.gitattributes
vendored
14
.gitattributes
vendored
|
@ -20,3 +20,17 @@
|
|||
*.PDF diff=astextplain
|
||||
*.rtf diff=astextplain
|
||||
*.RTF diff=astextplain
|
||||
|
||||
# Ignore files in git archive (i.e. GitHub release builds)
|
||||
Dockerfile export-ignore
|
||||
.travis.yml export-ignore
|
||||
.github/ export-ignore
|
||||
.gitattributes export-ignore
|
||||
.gitignore export-ignore
|
||||
.dockerignore export-ignore
|
||||
scalingo.json export-ignore
|
||||
phpunit.xml export-ignore
|
||||
phpcs.xml export-ignore
|
||||
phpcompatibility.xml export-ignore
|
||||
tests/ export-ignore
|
||||
cache/.gitkeep export-ignore
|
Loading…
Reference in a new issue