git-archive-file - Man Page
Export the current HEAD of the git repository to an archive
Examples (TL;DR)
- 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 ´-´.
Author
Written by Philipp Klose <me@thehippo.de>
Reporting Bugs
See Also
Referenced By
May 2020 Git Extras