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.

tomevault-io 816aa64 2 files · 1.7 KB Updated

File contents

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 — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/raphaelstolt--lean-package-validator--updating-gitattributes-file commit 816aa64c3d

Frequently asked questions

npx skillmds@latest add tomevault-io/updating-gitattributes-file