Skip to content

Instantly share code, notes, and snippets.

@heyfletch
Created July 19, 2019 14:18
Show Gist options
  • Select an option

  • Save heyfletch/d0cce3e8d749191b67120b93c80fb54c to your computer and use it in GitHub Desktop.

Select an option

Save heyfletch/d0cce3e8d749191b67120b93c80fb54c to your computer and use it in GitHub Desktop.

Revisions

  1. heyfletch created this gist Jul 19, 2019.
    7 changes: 7 additions & 0 deletions git-archive
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    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