git_reset
Reset a Git repository to a specific commit or state using specified modes (soft, mixed, hard). Manage repository history and restore previous states easily on the Git Repo Browser MCP server.
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 |