branche
Crée une nouvelle branche Git à partir de la dernière version de main, avec un préfixe conventionnel feat/ (nouvelle fonctionnalité) ou fix/ (correction de bug). Utilise sur /branche, ou quand l'utilisateur veut démarrer un nouveau travail sur une branche dédiée : \"nouvelle branche\", \"crée une branche\", \"je commence une feature\", \"pars de main à jour\", avant d'attaquer un développement isolé. Amont naturel de /livre.
Works with
--- name: branche description: Crée une nouvelle branche Git à partir de la dernière version de main, avec un préfixe conventionnel feat/ (nouvelle fonctionnalité) ou fix/ (correction de bug). Utilise sur /branche, ou quand l'utilisateur veut démarrer un nouveau travail sur une branche dédiée : \"nouvelle branche\", \"crée une branche\", \"je commence une feature\", \"pars de main à jour\", avant d'attaquer un développement isolé. Amont naturel de /livre. license: MIT --- # /branche Crée une nouvelle branche à partir de la dernière version de main. ## Étapes 1. Bascule sur main et récupère la dernière version : ```bash git checkout main && git pull origin main ``` 2. **Si `$ARGUMENTS` est fourni** (ex. `/branche feat/algorithme-churn`) : - Utilise l'argument directement comme nom de branche - Crée et bascule sur la branche : `git checkout -b <nom-de-branche>` 3. **Si aucun argument n'est fourni :** - Demande à l'utilisateur le nom de la branche ou une description du travail - Propose un nom avec un préfixe conventionnel : `feat/` ou `fix/` - Une fois confirmé, crée la branche : `git checkout -b <nom-de-branche>` 4. Confirme la création de la branche en exécutant `git branch --show-current` ## Conventions de nommage des branches Utilise ces préfixes : - `feat/` — Nouvelle fonctionnalité - `fix/` — Correction de bug Si l'utilisateur fournit un nom sans préfixe, propose d'en ajouter un.
More Git Workflows skills
git-commit
github/awesome-copilot
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping
git-workflow-and-versioning
addyosmani/agent-skills
Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, or when you need to organize work across multiple parallel streams. Use when cutting a release, choosing a semantic version bump, tagging, or writing a changelog.
resolve-merge-conflicts
warpdotdev/common-skills
Resolve Git merge conflicts by extracting only unresolved paths, conflict hunks, and compact diffs instead of loading whole files into context. Use when a merge, rebase, cherry-pick, or stash pop stops on conflicts, when `git status` shows unmerged paths, or when files contain conflict markers.

