Agent skill · writing content · sickn33

git-advanced-workflows

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

Why this skill is useful

Provides specific commands and workflows for advanced Git techniques that enhance collaboration and version control management.

What it needs

About 6k tokens when loaded. Last updated 2026-08-07. 44,571 stars on the source repository.

What this skill does

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. When to Use 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 Repository and Recovery Boundary Read repository instructions and branch protection first. A hotfix follows the protected PR/maintainer path when required; urgency does not authorize a direct default-branch commit or push. Preserve dirty and staged work before checkout, rebase, reset or restore. A backup branch protects committed history only, not uncommitted files. Inspect exact targets before destructive operations and obtain authorization for shared-history rewrites. Reflog availability depends on local expiry and garbage collection; it cannot guarantee recovery of every lost file. Core Concepts 1. Interactive Rebase Interactive rebase is the Swiss Army knife of Git history editing. Common Operations: pick: Keep commit as-is reword: Change commit message edit: Amend commit content squash: Combine with previous commit fixup: Like squash but discard message drop: Remove commit entirely Basic Usage: 2. Cherry-Picking Apply specific commits from one branch to another without merging entire branches. 3. Git Bisect Binary search through commit history to find the commit that introduced a bug. Automated Bisect: 4. Worktrees Work on multiple branches simultaneously without stashing or switching. 5. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sickn33/git-advanced-workflows--ede977

View the source on GitHub

Browse the @skills marketplace