git_restore
Restore working tree files to discard local changes, or use staged to restore files from the index. Specify one or more paths and optional repository directory.
Instructions
Restore working tree files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional local working directory or repository path. | |
| paths | Yes | Paths to restore. | |
| staged | No | Restore from the index with --staged. |