Skip to content

Commit 57354eb

Browse files
committed
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.
1 parent b419b0d commit 57354eb

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# The files below are development infrastructure, they are excluded
2+
# from source archives created by "git archive", see misc/GNUmakefile.
3+
4+
/.gitattributes export-ignore
5+
/.github export-ignore
6+
/.gitignore export-ignore
7+
/AGENTS.md export-ignore
8+
/CLAUDE.md export-ignore
9+
/docs/agent export-ignore
10+
/misc export-ignore

0 commit comments

Comments
 (0)