跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Manage Git Branches

技能 已验证 活跃

Create, track, switch, sync, and clean up Git branches. Covers naming conventions, safe branch switching with stash, upstream synchronization, and pruning merged branches. Use when starting work on a new feature or bug fix, switching between tasks on different branches, keeping a feature branch up to date with main, or cleaning up branches after merging pull requests.

目的

To provide a structured and safe way to manage Git branches, ensuring consistency and preventing common errors.

功能

  • Create new feature/fix/docs branches
  • Track remote branches and set upstream
  • Safely switch branches with stash/commit
  • Sync local branches with upstream main
  • Clean up merged branches locally and remotely
  • List and inspect all branches

使用场景

  • Starting work on a new feature or bug fix
  • Switching between tasks on different branches
  • Keeping a feature branch up to date with main
  • Cleaning up branches after merging pull requests

非目标

  • Managing Git merge conflicts beyond basic guidance
  • Automating pull request creation or review
  • Repository setup or advanced Git configuration

安装

/plugin install agent-almanac@pjt222-agent-almanac

质量评分

已验证
97 /100
about 23 hours ago 分析

信任信号

最近提交2 days ago
星标14
许可证MIT
状态
查看源代码