git-archive-file
TLDR
Create archive with branch name
$ git archive-file
Create archive from specific branch$ git archive-file --branch [main]
SYNOPSIS
git archive-file [options]
DESCRIPTION
git archive-file creates a zip archive with a filename including the branch name and commit hash. Part of git-extras. Useful for creating uniquely named release archives.
PARAMETERS
--branch name
Branch to archive.
SEE ALSO
git-archive(1), git-extras(1)


