Skip to content

Instantly share code, notes, and snippets.

@GorillaTester
Forked from amatellanes/git_archive.sh
Created August 7, 2017 17:07
Show Gist options
  • Select an option

  • Save GorillaTester/191a57c08ea5dbe749ad39a2acfabe0e to your computer and use it in GitHub Desktop.

Select an option

Save GorillaTester/191a57c08ea5dbe749ad39a2acfabe0e to your computer and use it in GitHub Desktop.

Revisions

  1. @amatellanes amatellanes created this gist Jul 20, 2014.
    3 changes: 3 additions & 0 deletions git_archive.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    git archive --format=tar --prefix=git-1.4.0/ v1.4.0 | gzip >git-1.4.0.tar.gz # Create a compressed tarball for v1.4.0 release.

    git archive --format=zip --prefix=git-1.4.0/ v1.4.0 > git-1.4.0-docs.zip # Create a compressed zipball for v1.4.0 release.