Workflows Git Avancés

VérifiéSûr

Couvre le rebase interactif, le cherry-pick, git bisect, les worktrees et le reflog. Aide à maintenir un historique propre, appliquer des commits spécifiques entre branches, trouver l'introduction de bugs et récupérer après des erreurs. Idéal pour nettoyer les branches de fonctionnalités avant une PR, le développement multi-branche et le dépannage.

Spar Skills Guide Bot
DeveloppementAvancé
7002/06/2026
Claude Code
#git#version-control#advanced-workflows#history-management

Recommandé pour

Notre avis

Maîtrisez les workflows Git avancés pour maintenir un historique propre et collaborer efficacement.

Points forts

  • Couvre le rebasage interactif, le cherry-pick, le bisect, les worktrees et le reflog.
  • Inclut des workflows concrets pour nettoyer l'historique, appliquer des correctifs multiples et récupérer après des erreurs.
  • Permet de gérer des branches complexes et de préparer des PRs propres.
  • Offre des stratégies claires pour choisir entre rebase et merge.

Limites

  • Nécessite une bonne connaissance préalable de Git.
  • Certaines opérations comme le rebasage peuvent être destructrices si mal utilisées.
  • Ne convient pas aux utilisateurs débutants ou aux tâches Git simples.
Quand l'utiliser

Utilisez cette compétence lorsque vous devez nettoyer un historique de validation, appliquer des commits spécifiques entre branches, trouver l'introduction d'un bug, ou récupérer des commits perdus.

Quand l'éviter

Ne l'utilisez pas pour des opérations Git basiques comme le commit, le push ou le pull, ou lorsque vous préférez une interface graphique.

Analyse de sécurité

Sûr
Score qualité75/100

The skill provides educational guidance for advanced Git workflows and does not instruct any destructive, exfiltrating, or obfuscated actions. It does not involve executing arbitrary shell commands or network operations. Git operations, while powerful, are legitimate and common in development environments. No malicious or unsafe instructions are present.

Aucun point d'attention détecté

Exemples

Clean up feature branch before PR
I have a feature branch with messy commits. Help me use interactive rebase to squash, reword, and reorder commits before opening a pull request.
Find bug introduction with bisect
A bug was introduced in the last 50 commits. Use git bisect to find the exact commit that caused it.
Recover lost commits with reflog
I accidentally ran 'git reset --hard' and lost my last commits. Show me how to use git reflog to recover them.

version: 4.1.0-fractal name: git-advanced-workflows description: Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.

Git Advanced Workflows

Master advanced Git techniques to maintain clean history, collaborate effectively, and recover from any situation with confidence.

Do not use this skill when

  • The task is unrelated to git advanced workflows
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Use this skill when

  • Cleaning up commit history before merging
  • Applying specific commits across branches
  • Finding commits that introduced bugs
  • Working on multiple features simultaneously
  • Recovering from Git mistakes or lost commits
  • Managing complex branch workflows
  • Preparing clean PRs for review
  • Synchronizing diverged branches

Core Concepts

🧠 Knowledge Modules (Fractal Skills)

1. 1. Interactive Rebase

2. 2. Cherry-Picking

3. 3. Git Bisect

4. 4. Worktrees

5. 5. Reflog

6. Workflow 1: Clean Up Feature Branch Before PR

7. Workflow 2: Apply Hotfix to Multiple Releases

8. Workflow 3: Find Bug Introduction

9. Workflow 4: Multi-Branch Development

10. Workflow 5: Recover from Mistakes

11. Rebase vs Merge Strategy

12. Autosquash Workflow

13. Split Commit

14. Partial Cherry-Pick

Skills similaires