git_clean
Clean untracked files in a Git repository using specified parameters such as force removal, directory inclusion, and dry run for safe execution.
Instructions
Perform git clean operations.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
directories | No | Whether to remove directories as well | |
dry_run | No | Whether to perform a dry run | |
force | No | Whether to force clean | |
repo_path | Yes | The path to the local Git repository |
Input Schema (JSON Schema)
{
"properties": {
"directories": {
"default": false,
"description": "Whether to remove directories as well",
"type": "boolean"
},
"dry_run": {
"default": true,
"description": "Whether to perform a dry run",
"type": "boolean"
},
"force": {
"default": false,
"description": "Whether to force clean",
"type": "boolean"
},
"repo_path": {
"description": "The path to the local Git repository",
"type": "string"
}
},
"required": [
"repo_path"
],
"type": "object"
}