git-archive-file
Export all the files of the current Git branch into a zip archive.
TLDR
Pack the currently checked out commit into a zip archive
$ git archive-file
SYNOPSIS
git-archive-file
DESCRIPTION
Export the current HEAD of the repository into an archive with an identifiable and unique name.
OPTIONS
This command does not take any options.
EXAMPLES
Archive naming conventions:
On any branch: git-extras.1.7.0-110-gafefba7.branch-name.zip
On master branch: git-extras.1.7.0-110-gafefba7.zip
On a detached HEAD (e.g. a tag): git-extras.1.7.0.zip
The '/' and '\' in the branch name will be converted into '-'.
REPORTING BUGS
<https://github.com/tj/git-extras/issues>
SEE ALSO
<https://github.com/tj/git-extras>
AUTHOR
Written by Philipp Klose <me@thehippo.de>