git-archive-file (1) - Linux Manuals
git-archive-file: Export the current HEAD of the git repository to a archive
NAME
git-archive-file - Export the current HEAD of the git repository to a archiveSYNOPSIS
git-archive-fileDESCRIPTION
Export the current HEAD of the repository into a archive with a 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