Skip to main content

hotfix-cherrypick

Backport EduHub production hotfixes into develop and optionally staging. Use when a fix landed directly on production and must be cherry-picked into the normal promotion branches.

Quellinformationen

Repository
eduhub-org/eduhub
Letzte Quellaktivität
24. April 2026 um 10:04
Erkannte Sprache von SKILL.md
Englisch
Sterne
14
Forks
9

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
hotfix-cherrypick
description
Backport EduHub production hotfixes into develop and optionally staging. Use when a fix landed directly on production and must be cherry-picked into the normal promotion branches.
# Hotfix Cherry-Pick Use this skill when a production hotfix needs to be backported. ## Default Flow 1. identify commits present in `production` but missing from `develop` 2. cherry-pick them onto `develop` 3. verify the commit is now contained in `develop` Useful command: ```bash git log --oneline develop..production ``` ## Standard Cherry-Pick Flow ```bash git checkout develop git pull origin develop git cherry-pick <commit-hash> git push origin develop ``` Verify: ```bash git branch --contains <commit-hash> ``` ## When To Also Pick To Staging Also backport to `staging` when: - the user explicitly asks for it - the fix is urgent and needed before the next normal promotion from `develop` - release timing means waiting for the next promotion would be risky ## Conflict Handling If cherry-pick conflicts: - resolve the files intentionally - continue with `git cherry-pick --continue` - abort with `git cherry-pick --abort` if the pick was wrong or needs to be retried differently ## Output Style For This Skill When helping with a hotfix backport, tell the user: 1. which commit(s) were missing 2. whether you are targeting only `develop` or both `develop` and `staging` 3. whether conflicts occurred
Auf GitHub ansehen