git_archive
Archive a Git repository in zip or tar format by specifying the repo path, output path, and format. Includes options to set a prefix and tree-ish for precise archiving.
Instructions
Create a git archive (zip or tar).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | Archive format (zip or tar) | zip |
output_path | Yes | Output path for the archive | |
prefix | No | Prefix for files in the archive | |
repo_path | Yes | The path to the local Git repository | |
treeish | No | Tree-ish to archive (default: HEAD) | HEAD |