DOKK / manpages / debian 11 / git-extras / git-archive-file.1.en
GIT-ARCHIVE-FILE(1) Git Extras GIT-ARCHIVE-FILE(1)

git-archive-file - Export the current HEAD of the git repository to an archive

git-archive-file

Export the current HEAD of the repository into an archive with an identifiable and unique name.

This command does not take any options.

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 ´-´.

Written by Philipp Klose <me@thehippo.de>

<https://github.com/tj/git-extras/issues>

<https://github.com/tj/git-extras>

October 2020