forked from cardosofelipe/fast-next-template
feat(mcp): Git Operations MCP - Git Wrapper Implementation #106
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent Issue
Part of #58 (Git Operations MCP Server)
Summary
Implement the GitWrapper class using gitpython library for all local git operations.
Tasks
GitWrapper Class (
git_wrapper.py)GitWrapperclass with workspace pathclone(repo_url, branch)methodcheckout(branch)methodcreate_branch(branch_name, base)methoddelete_branch(branch_name)methodlist_branches()method (local and remote)status()method (modified, staged, untracked)add(files)methodcommit(message, author)methodpush(branch, force)methodpull(branch)methodfetch()methoddiff(base, target)methodlog(limit)methodreset(commit, mode)methodBranch Naming
Conflict Detection
Error Handling
Testing
Acceptance Criteria
Dependencies
Labels