Skip to content

Commit

Permalink
Exclude test and build files from release archives (patched)
Browse files Browse the repository at this point in the history
  • Loading branch information
dakujem committed Apr 24, 2024
1 parent 836bd3f commit 1b71bc9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Documentation:
# https://git-scm.com/docs/gitattributes
#

# Exclude build/test files from archive
/.github export-ignore
/tests export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore

# Configure diff output for .php and .phar files.
*.php diff=php
*.phar -diff

#
# This file contains rules suggested by the following article:
# https://php.watch/articles/composer-gitattributes
#

0 comments on commit 1b71bc9

Please sign in to comment.