Update .gitattributes files for projects using php-lean; use when adding missing export-ignore entries or refreshing existing content.
php artisan boost:add-skill stolt/php-lean
Save this content to: .claude/skills/updating-gitattributes-file/SKILL.md
# Update .gitattributes with php-lean
Use php-lean to refresh an existing .gitattributes file:
1. Run `./vendor/bin/php-lean update` to replace missing export-ignore entries.
2. Add `--align-export-ignores` if you want aligned columns.
3. Add `--omit-header` to avoid modifying the header comment.
4. If you need a preview first, run `./vendor/bin/php-lean validate --diff` and then re-run with the `update` command.
Keep any non-export-ignore rules intact; php-lean appends export-ignores below them.
Use php-lean to refresh an existing .gitattributes file:
./vendor/bin/php-lean update to replace missing export-ignore entries.--align-export-ignores if you want aligned columns.--omit-header to avoid modifying the header comment../vendor/bin/php-lean validate --diff and then re-run with the update command.Keep any non-export-ignore rules intact; php-lean appends export-ignores below them.
How can I help you explore Laravel packages today?