Skip to main content

git-workflow

Use when committing code, creating PRs, managing branches, or resolving git conflicts. Triggers on git commit, git push, git status, git diff, git stash, git revert, cherry-pick, merge conflict, pull request, PR, create PR, squash merge, conventional commit, branch, feature branch, gh pr, git log, rebase, upstream, origin, stage files, git add.

Datos de origen

Repositorio
george11642/george-plugins
Última actividad en el origen
11 de marzo de 2026 a las 22:42
Idioma detectado de SKILL.md
inglés
Estrellas
2
Forks
0

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
git-workflow
description
Use when committing code, creating PRs, managing branches, or resolving git conflicts. Triggers on git commit, git push, git status, git diff, git stash, git revert, cherry-pick, merge conflict, pull request, PR, create PR, squash merge, conventional commit, branch, feature branch, gh pr, git log, rebase, upstream, origin, stage files, git add.
# Git Workflow ## Commit Convention ``` type(scope): subject (max 72 chars) - bullet body for non-trivial changes Co-Authored-By: Claude <noreply@anthropic.com> ``` Types: `feat`, `fix`, `chore`, `refactor`, `test`, `docs`, `perf` Scopes: use project-appropriate scopes (check project's CLAUDE.md) ## Branch Strategy - `main` — production, always deployable - `feat/description` — feature branches - `fix/description` — bug fix branches ## Commands | Task | Command | |------|---------| | Status | `git status` | | Stage specific files | `git add file1 file2` (never `git add .` for safety) | | Commit | `git commit -m "type(scope): message"` | | Push | `git push -u origin branch-name` | | Create PR | `gh pr create --title "..." --body "..."` | | View PR | `gh pr view [number]` | | Merge PR | `gh pr merge [number] --squash` | ## Safety - Never force-push to main - Never `git add .` (stage specific files) - Never skip hooks (`--no-verify`) - Always `git stash` before risky operations - Resolve conflicts manually, never `--ours`/`--theirs` blindly
Ver en GitHub