تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

doro-git-essentials

بواسطة a2mus

Git & GitHub
280التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Essential Git commands and workflows for version control, branching, and collaboration.

الوصف

ما الذي تفعله هذه المهارة

A reference for core Git commands covering setup, staging, branching, merging, rebasing, and remote operations. Includes common workflows like feature branches, hotfixes, and fork syncing. Also covers advanced topics such as cherry-pick, submodules, and bisect.

Consolidates the most-used Git commands and multi-step workflows in one place, reducing the need to search scattered documentation.

متى تستخدمها

  • Creating a feature branch and opening a pull request
  • Stashing in-progress changes before switching tasks
  • Finding the commit that introduced a bug with git bisect
  • Syncing a forked repository with the upstream source
  • Recovering a deleted branch using reflog

مثال على سير العمل

الإدخال

User asks: How do I create a feature branch, make changes, and push it for review?

الوكيل
  1. 1

    Run git checkout -b feature/new-feature to create and switch to a new branch

  2. 2

    Stage changes with git add . and commit with git commit -m "Add new feature"

  3. 3

    Push the branch to the remote with git push -u origin feature/new-feature

  4. 4

    After the pull request is merged, switch back with git checkout main and pull

  5. 5

    Delete the local branch with git branch -d feature/new-feature

الإخراج

Feature branch created, pushed to remote, and cleaned up after merge

التثبيت

clawhub install a2mus/doro-git-essentials

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط