# Install git-archive-all with Homebrew, apk, dnf, Nix

Archive a project and its submodules. Version 1.23.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:git-archive-all
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-archive-all
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add git-archive-all
```

  Evidence: Alpine Linux edge package indexes: git-archive-all from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install git-archive-all
```

  Evidence: Fedora Rawhide package metadata: git-archive-all from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#git-archive-all
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gi/git-archive-all/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:git-archive-all
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-archive-all>
- **Version:** 1.23.1
- **Source summary:** Archive a project and its submodules
- **Homepage:** <https://github.com/Kentzo/git-archive-all>
- **Repository:** <https://github.com/Kentzo/git-archive-all>
- **Upstream docs:** <https://github.com/Kentzo/git-archive-all#readme>
- **License:** MIT
- **Source archive:** <https://github.com/Kentzo/git-archive-all/archive/refs/tags/1.23.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-archive-all (cli)
- git-archive-all (alias)

## Uses from macOS

- python

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.23.1
- Local data: ok
- Upstream repository: https://github.com/Kentzo/git-archive-all
- Upstream latest detected: 1.23.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

git-archive-all is a Python command-line wrapper around git archive that archives a Git superproject together with its submodules.

### Project history

The repository opened in 2010 to solve a practical packaging gap: git archive works well for one repository, but release tarballs often need the checked-out contents of submodules too. The project kept the interface close to git archive while adding recursive submodule traversal, export-ignore support, include paths, dry-run output, and compression control.

The changelog shows a maintenance phase focused on cross-platform archive correctness: tests and export-ignore handling in 2018, Windows and Apple Git compatibility fixes, non-Unicode filename handling, and a 2021 change to retrieve submodule lists via Git rather than parsing .gitmodules directly.

### Adoption history

Adoption is utilitarian rather than broad-platform-defining. Its presence on PyPI, Homebrew, and Linux package sets reflects a common release-engineering need: produce source archives from repositories whose dependencies are tracked as Git submodules.

### How it is used

Practitioners run git-archive-all with an output filename, optional base repository, prefix, export-ignore behavior, forced submodule update, include paths, dry-run mode, and compression level. It is typically used for release tarballs, vendor drops, or reproducible snapshots where submodules must be included.

### Why package nerds care

Package maintainers care because missing submodules are a classic broken-source-tarball problem. git-archive-all offers a boring, scriptable answer that honors Git attributes and avoids inventing a new archive format.

### Timeline

- 2010: Repository created.
- 2018: CHANGES.rst started tracking releases; tests and export-ignore handling were added.
- 2018: Windows support and Apple Git compatibility fixes landed in the 1.19 series.
- 2021: Version 1.23.0 began retrieving submodules via Git.
- 2022: Version 1.23.1 added typing information to PyPI and source distributions.

### Related projects

- Related tools include Git's git archive command, Git submodules, .gitattributes export-ignore rules, PyPI packaging, and Homebrew formula packaging.

### Sources

- <https://api.github.com/repos/Kentzo/git-archive-all>
- <https://formulae.brew.sh/formula/git-archive-all>
- <https://github.com/Kentzo/git-archive-all>
- <https://github.com/Kentzo/git-archive-all/blob/master/CHANGES.rst>
- <https://github.com/Kentzo/git-archive-all/blob/master/README.rst>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-archive-all
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - git-archive-all: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-archive-all/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - git-archive-all - 1.23.1-r5: normalized package name match | Alpine Linux edge package indexes: git-archive-all from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Wrapper for git-archive that archives a git superproject and its submodules | https://github.com/Kentzo/git-archive-all
- apk - git-archive-all-pyc - 1.23.1-r5: normalized package name match | Alpine Linux edge package indexes: git-archive-all-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for git-archive-all | https://github.com/Kentzo/git-archive-all
- dnf - git-archive-all - 1.23.1-16.fc45: normalized package name match | Fedora Rawhide package metadata: git-archive-all from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Archive git repository with its submodules | https://github.com/Kentzo/git-archive-all


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [git-big-picture](https://www.automicvault.com/pkg/brew/git-big-picture/) - Shares av.db curated category or tags: cli, developer-tools, git, python, version-control.
- [git-imerge](https://www.automicvault.com/pkg/brew/git-imerge/) - Shares av.db curated category or tags: cli, developer-tools, git, python, version-control.
- [git-subrepo](https://www.automicvault.com/pkg/brew/git-subrepo/) - Shares av.db curated category or tags: cli, developer-tools, git, submodules, version-control.
- [gitup](https://www.automicvault.com/pkg/brew/gitup/) - Shares av.db curated category or tags: cli, developer-tools, git, python, version-control.
- [pygitup](https://www.automicvault.com/pkg/brew/pygitup/) - Shares av.db curated category or tags: cli, developer-tools, git, python, version-control.
- [aicommit](https://www.automicvault.com/pkg/brew/aicommit/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [aicommit2](https://www.automicvault.com/pkg/brew/aicommit2/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [aicommits](https://www.automicvault.com/pkg/brew/aicommits/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.

## Combined YAML source

View the package source record on GitHub. [combined/git-archive-all.yml](https://github.com/automic-vault/db/blob/main/combined/git-archive-all.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
