git-archive-all

Archive a Git project and all its submodules into a single file

brewmacoslinux
Try with needOr install directly
Source

About

Archive a project and its submodules

Commands

git-archive-all

Examples

Create a tar archive of the current repository including submodules$ git-archive-all ../project.tar
Create a compressed tar.gz archive of a specific branch$ git-archive-all --compress=gz ../project.tar.gz main
Create a zip archive of the repository at a specific commit$ git-archive-all ../project.zip abc123def