Skip to content

Update .gitattributes to exclude dev files from composer dist#60

Open
williamdes wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
williamdes:williamdes/gitattributes-export-ignore
Open

Update .gitattributes to exclude dev files from composer dist#60
williamdes wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
williamdes:williamdes/gitattributes-export-ignore

Conversation

@williamdes

Copy link
Copy Markdown

This avoids shipping dev/tooling files in the composer dist that aren't needed at runtime.

Last .gitattributes update was b0cf139 (2026-03-13, #59). The files below have been added or modified since, and are still included in the composer dist:

Background reading: https://blog.madewithlove.be/post/gitattributes/

@google-cla

google-cla Bot commented May 20, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

This avoids shipping dev/tooling files in the composer dist that aren't needed at runtime.

Last `.gitattributes` update was b0cf139 (2026-03-13, GoogleCloudPlatform#59). The files below have been added or modified since, and are still included in the composer dist:
- `/doc/ export-ignore` — last touched in 2d903e2 2018-07-09 (initial)
- `/.github/ export-ignore` — last touched in 1049c0c 2026-03-12 (GoogleCloudPlatform#58)
- `/.php_cs.dist export-ignore` — last touched in 2d903e2 2018-07-09 (initial)

Background reading: https://blog.madewithlove.be/post/gitattributes/

Drafted with assistance from Claude Code (https://claude.com/claude-code).
@williamdes
williamdes force-pushed the williamdes/gitattributes-export-ignore branch from 376ad0a to 1a2942d Compare May 20, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant