# Updating Gitattributes File

> Update .gitattributes files for Laravel Boost projects using lean-package-validator; use when adding missing export-ignore entries or refreshing existing content. Use when this capability is needed.

- Skill: `tomevault-io/updating-gitattributes-file` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/updating-gitattributes-file`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/updating-gitattributes-file/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/updating-gitattributes-file

---


# Update .gitattributes with lean-package-validator

Use lean-package-validator to refresh an existing .gitattributes file:

1. Run `./vendor/bin/lean-package-validator 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/lean-package-validator validate --diff` and then re-run with the `update` command.

Keep any non-export-ignore rules intact; lean-package-validator appends export-ignores below them.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/raphaelstolt) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

