git-reset
Reset a Git repository to a specified commit or state. Choose between soft, mixed, or hard modes to control working directory and staging area impact.
Instructions
Resets repository to a specific commit or state
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "git-reset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Reset mode (default: mixed) | |
| target | No | Target commit or reference (default: HEAD) | |
| directory | No | The directory to run the command in (defaults to current working directory) |