git_reset
Reverts the current HEAD or specific paths to a chosen commit or state. Use it to undo staged or committed changes with modes like soft, mixed, or hard.
Instructions
Reset current HEAD or paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional local working directory or repository path. | |
| mode | No | Optional reset mode. | |
| target | No | Optional commit or pathspec. |