2024-05-05 .gitattributes
export-ignore
git archive の対象から外すための属性。
export-ignore
Files and directories with the attribute export-ignore won’t be added to archive files.
Git - gitattributes Documentation
下記の感じで使った。
/.github/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/docs/ export-ignore
linguist-generated
To keep certain files from displaying in diffs by default, or counting toward the repository language, you can mark them with the linguist-generated attribute in a .gitattributes file.
Customizing how changed files appear on GitHub - GitHub Docs
search/index.json linguist-generated=true