返回技能中心
💻

Git

Master version control with expert guidance on commits, branching, rebases, and safe history recovery for seamless team collaboration and repository safety.

作者 Iván
程式代理與 IDE效率開源自動化CLI開發者工具

# Git Master version control with expert guidance on commits, branching, rebases, and safe history recovery for seamless team collaboration and repository safety. The Git skill provides your AI agent with a professional framework for managing version control. It covers everything from basic commits and branching to advanced operations like interactive rebasing, conflict resolution, and history recovery. It ensures that the agent applies Git discipline automatically, preventing common mistakes like accidental force pushes or messy commit histories. ## How It Works - **Hotfixes**: . It prioritizes safety by using - **Conventional Commits**: for readability, and utilizes tools like ## Key Features - **Safe History Management**: Expert use of rebase , squash , and reset with built-in safety checks. - **Conflict Resolution**: Systematic approach to identifying and resolving merge conflicts without leaving markers. - **Recovery Tools**: Advanced commands like reflog and bisect to recover deleted branches or find bug-introducing commits. - **Standardized Workflows**: Enforces team best practices including branch hygiene and meaningful commit messages. ## Requirements No external API keys or cloud services are required for this skill. It operates entirely using your local environment's Git installation. ## Use Cases - **Repository Maintenance**: Managing complex branch structures, submodules, and cleaning up remote tracking. - **Safe Collaboration**: Synchronizing work with teams using pull --rebase and safe push protocols. - **Debugging**: Automating the search for regressions using git bisect across historical commits. ## Installation Install via: `npx clawhub@latest install git`

安裝

1

在終端機中執行

npx clawhub@latest install git
2

點擊本頁頂部的安裝按鈕進行一鍵安裝