Complete git operations via libgit2
git_status - Repository status with staged/unstaged/untracked filesgit_diff - View changes with patch formatgit_commit - Create commitsgit_branch - List, create, or delete branchesgit_checkout - Switch branches or commitsgit_blame - Show line-by-line authorshipgit_log - View commit historygit_tag - Manage tags (lightweight and annotated){
"name": "git_status",
"arguments": {
"path": "."
}
}
Returns information about staged, unstaged, and untracked files in the repository.
{
"name": "git_commit",
"arguments": {
"message": "feat: add new feature",
"author_name": "Developer",
"author_email": "dev@example.com"
}
}
{
"name": "git_diff",
"arguments": {
"path": ".",
"staged": false
}
}
{
"name": "git_branch",
"arguments": {
"action": "list"
}
}
{
"name": "git_branch",
"arguments": {
"action": "create",
"branch_name": "feature/new-feature"
}
}
{
"name": "git_branch",
"arguments": {
"action": "delete",
"branch_name": "old-feature"
}
}
{
"name": "git_log",
"arguments": {
"path": ".",
"limit": 10
}
}
{
"name": "git_blame",
"arguments": {
"path": "src/main.rs"
}
}
{
"name": "git_tag",
"arguments": {
"action": "create",
"tag_name": "v1.0.0",
"message": "Release version 1.0.0",
"annotated": true
}
}