GitHub检出与提交工具
演示适用于GitHub MCP服务器的新检出和提交工具的仓库。
GitHub 检出与提交工具
本仓库展示了适用于GitHub MCP服务器的检出和提交工具。
功能
- checkout_branch: 在本地仓库中检出分支
- checkout_commit: 在本地仓库中检出特定提交
- create_commit: 在本地仓库中创建提交
- commit_and_push_file: 提交并推送文件到GitHub仓库
使用方法
这些工具可通过GitHub MCP服务器直接从Claude执行Git操作。
示例
使用commit_and_push_file
工具添加了此行。