Git Revert Working Tree
git.revertRestore tracked files to a specific checkpoint, optionally removing untracked files. This action is destructive and requires confirmation.
Instructions
Destructive: restore tracked files to a checkpoint and optionally remove untracked files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | ||
| checkpoint | Yes | ||
| cleanUntracked | No | ||
| confirm | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkpoint | Yes | ||
| cleanUntracked | Yes |