git_reset
Reset a local Git repository to a specific commit or state using soft, mixed, or hard mode. Ideal for reverting changes or restoring previous versions in Git Repo Browser MCP.
Instructions
Reset repository to specified commit or state.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
mode | No | Reset mode (soft, mixed, hard) | mixed |
repo_path | Yes | The path to the local Git repository | |
to | No | Commit or reference to reset to | HEAD |