From: Dmitry Volyntsev Date: Tue, 11 Aug 2026 01:55:16 +0000 (-0700) Subject: Exclude development files from source archives X-Git-Tag: 1.0.1~15 X-Git-Url: https://git.kaiwu.me/%7B@url%7D?a=commitdiff_plain;h=bb106f082b2900b8e4e94bc943ab3a642200c318;p=njs.git Exclude development files from source archives Add .gitattributes with "export-ignore" attributes, so that agent instructions, CI configuration and the release machinery are not part of the tarballs created by "git archive", including the ones GitHub generates for a tag. --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..b80628ce --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +# The files below are development infrastructure, they are excluded +# from source archives created by "git archive", see misc/GNUmakefile. + +/.gitattributes export-ignore +/.github export-ignore +/.gitignore export-ignore +/AGENTS.md export-ignore +/CLAUDE.md export-ignore +/docs/agent export-ignore +/misc export-ignore