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
commit 79794fe4cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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