git archive --output="../plugin-name.zip" HEAD # files to exclude, put in .gitattributes in the root dir. Syntax: # /.gitattributes export-ignore # /.gitignore export-ignore # /LICENSE export-ignore # /README.md export-ignore