Skip to content

Instantly share code, notes, and snippets.

@heyfletch
Created July 19, 2019 14:18
Show Gist options
  • Save heyfletch/d0cce3e8d749191b67120b93c80fb54c to your computer and use it in GitHub Desktop.
Save heyfletch/d0cce3e8d749191b67120b93c80fb54c to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment