Command

git archive

Exports selected committed tree content; does not preserve repository history. Use a reviewed revision and separate output path.

Formal Syntax & Structure

git syntaxgit
git archive --format=zip --output=FILE REV
Git Reference