undo_changes
Discard uncommitted changes. If filePath given, restores that file; otherwise restores all tracked files. Returns list of restored paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Repo-relative file path to undo. If empty, undoes all tracked changes. | |
| workingDirectory | No | Git repo path. Default current directory. | . |