git-workflow
/git-workflow
Obsługuje gałęzie, commity, PR i wydania w Git oraz trudne operacje: interaktywny rebase, cherry-pick, bisect i odzyskiwanie z reflog.
- Autor
- edjchapman ↗
- Repozytorium
- claude-code-config ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 23.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 23.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Obsługuje gałęzie, commity, PR i wydania w Git oraz trudne operacje: interaktywny rebase, cherry-pick, bisect i odzyskiwanie z reflog.
Oryginalny opis (EN)
Git branching, commits, PRs, and release workflows. Use for anything under .git, and for tricky operations — interactive rebase, cherry-picking, bisecting, reflog recovery. To resolve an in-progress merge or rebase conflict, use the resolving-merge-conflicts skill.
Jak działa
- Commit Messages
- Branch Naming
- Pull Request Guidelines
- Complex Operations
Podgląd SKILL.md
--- name: git-workflow description: Git branching, commits, PRs, and release workflows. Use for anything under .git, and for tricky operations — interactive rebase, cherry-picking, bisecting, reflog recovery. To resolve an in-progress merge or rebase conflict, use the resolving-merge-conflicts skill. --- # Git Workflow Follow these conventions for all git operations in this project. ## Commit Messages Use [Conventional Commits](https://www.conventionalcommits.org/) format: ``` <type>(<scope>): <description> [optional body] [optional footer] ``` ### Types - `feat`: New feature or functionality - `fix`: Bug fix - `docs`: Documentation only - `style`: Formatting, missing semicolons (no code change) - `refactor`: Code restructuring (no feature/fix) - `test`: Adding or updating tests - `chore`: Maintenance tasks, dependencies - `ci`: CI/CD changes - `perf`: Performance improvements ### Rules - First line under 72 characters - Imperative mood: "add feature" not "added feature" - No period at end of subject line - Blank line between subject and body - Reference issue/ticket in footer: `Refs: PROJ-123` ## Branch Naming ``` <type>/<ticket>-<short-description> ``` Examples: - `feature/BIL-123-user-authentication` - `fix/BIL-456-login-redirect-loop` - `chore/BIL-789-upgrade-dependencies` ## Pull Request Guidelines ### Size - Aim for under 400 lines changed - If larger, split into stacked PRs or feature flags - One logical change per PR ### Description - Summary of what and why (not how) - Link to ticket/issue - Test plan: how to verify the change - Screenshots for UI changes ### Review Checklist - Tests pass - No linting errors - No TODO/FIXME without linked tickets - Migration safety considered (for DB changes) - Backwards compatibility assessed ## Complex Operations Approach: understand the current state (`git status`, `git log`), assess what could be lost, create a safety net, then execute step by step. ### Safety Net Before Dangerous Operations - Create a backup branch: `git branch backup-before-<operation>` - Note current HEAD: `git rev-parse HEAD` - Stash uncommitted changes: `git stash` - If it goes wrong: `git rebase --abort` / `git merge --abort` / `git cherry-pick --abort`, or `git reset --hard <backup>` ### Recovering Lost Commits ```bash git reflog # all recent HEAD positions - your safety net git branch recovery <hash> # create branch at a lost commit git cherry-pick <hash> # apply a lost commit to current branch git checkout <commit> -- <file> # restore one file from a commit ``` ### Bisecting a Regression ```bash git bisect start git bisect bad HEAD git bisect good <known-good> git bisect run <test-command> # exits 0 for good, non-zero for bad git bisect reset # when done ``` ### Resolving Merge Conflicts Resolve `<<<<<<<` markers per file, `git add` each, then `git rebase --continue` / `git merge --continue`. Keep one side wholesale with `git checkout --ours <file>` or `--theirs <file>`. ### Red Flags — Proceed with Caution - `--force` push (prefer `--force-with-lease`), `reset --hard` - Rebasing already-pushed commits - Operating on shared branches (main, develop)
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · edjchapman/claude-code-config | 100 | MIT |
| event4u-app/agent-config | 100 | MIT |
| lee-w/maigo | 100 | MIT |
| hakula139/plugins | 100 | MIT |
| ericrisco/rsc-harness | 100 | MIT |
| Sanit-mann/The-Insectoids | 100 | MIT |
| eliyce/paqad-ai | 100 | MIT |
| langfuse/langfuse | 100 | MIT |
| Muvon/octomind-tap | 100 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki acca4e47c267 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100git
Obsługuje pełny lokalny przepływ pracy w Git: status, commity, gałęzie, merge i rebase, konflikty, stash, historię, tagi, worktree, cherry-pick i odzyskiwanie przez reflog. - 100git
Obsługuje wymagające przepływy Git: modele gałęzi, merge kontra rebase, interaktywny rebase, bisect, cherry-pick, worktrees i konwencje commitów. - 100git-advanced
Wykonuje trudniejsze operacje Git: rebase gałęzi, debugowanie przez bisect, cherry-pick commitów i rozwiązywanie złożonych konfliktów scalania. - 100git-advanced
Wykonuje trudniejsze operacje Git: rebase gałęzi, debugowanie przez bisect, cherry-pick commitów i rozwiązywanie złożonych konfliktów scalania. - 100github-master
Obejmuje Git i GitHub: przepływy pracy, odzyskiwanie historii, pull requesty, ochronę gałęzi, Actions, konflikty scalania, rebase, cherry-pick, reflog i bisect. - 90git-merge
Rozwiązuje złożone operacje Git: konflikty przy merge, cherry-picki i rebase.