Merge pull request #166 from mikegehard/feature/git-checkout-command

Allow to check out branches
This commit is contained in:
David Soria Parra
2024-12-10 14:31:08 +00:00
committed by GitHub
5 changed files with 151 additions and 3 deletions

View File

@@ -67,6 +67,12 @@ Please note that mcp-server-git is currently in early development. The functiona
- `branch_name` (string): Name of the new branch
- `start_point` (string, optional): Starting point for the new branch
- Returns: Confirmation of branch creation
8. `git_checkout`
- Switches branches
- Inputs:
- `repo_path` (string): Path to Git repository
- `branch_name` (string): Name of branch to checkout
- Returns: Confirmation of branch switch
## Installation