git_git_rollback_file
Restore a single file to its state at a specific commit. Defaults to undoing changes by reverting to the last commit.
Instructions
Restore a single file to its state at a specific commit (default: last commit = undo changes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relative_path | Yes | ||
| sha | No | HEAD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||