add git_show tool

This commit is contained in:
Ilia Choly
2024-12-17 08:03:41 -05:00
parent 642af4d9e8
commit fac500018b
2 changed files with 41 additions and 0 deletions

View File

@@ -73,6 +73,12 @@ Please note that mcp-server-git is currently in early development. The functiona
- `repo_path` (string): Path to Git repository
- `branch_name` (string): Name of branch to checkout
- Returns: Confirmation of branch switch
9. `git_show`
- Shows the contents of a commit
- Inputs:
- `repo_path` (string): Path to Git repository
- `revision` (string): The revision (commit hash, branch name, tag) to show
- Returns: Contents of the specified commit
## Installation