git_archive
Generate a Git repository archive in zip or tar format by specifying the repository path, output path, and optional parameters like prefix and tree-ish.
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 |