Excluding directories does not work like git archive
Gustry opened this issue · 2 comments
Gustry commented
I have this .gitattributes
file as an example:
.github export-ignore
Makefile export-ignore
test export-ignore
.github
and test
are folders.
If I run:
git archive --format zip --prefix lizmap/ HEAD -o lizmap.zip
, it works well. The.github
folder is skipped from the archive.git-archive-all --prefix=lizmap/ lizmap.zip
does not work. I have.github
,test
etc in the archive.
In both cases, the makefile is skipped because it's a file.
I think the behavior should be the same.
What is the syntax to exclude directories with git-archive-all?
Thanks
rubenwardy commented
Duplicate of #78