git-workflows

Automate advanced Git workflows for rebases, bisects, worktrees, and reflog recovery.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/ViewWay/openclaw-skills --skill git-workflows-viewway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflows
Source: https://github.com/ViewWay/openclaw-skills/tree/main/git-workflows
Command: npx skills add https://github.com/ViewWay/openclaw-skills --skill git-workflows-viewway

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Advanced Git workflows streamline handling rebases, bisects, worktrees, reflog recoveries, and multi-repo coordination, reducing errors and wasted time.

Core Features & Use Cases

  • Interactive rebase guidance for cleaning history
  • Bisect and patch workflows to identify regression commits
  • Worktrees and sparse checkout support for parallel development
  • Reflog recovery and stash management for safety nets
  • Subtree/submodule coordination for monorepos and big repos
  • Conflict resolution and cherry-picking across branches

Quick Start

Initialize a multi-branch feature with parallel worktrees and a clean, linear history.

Frequently Asked Questions about git-workflows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I recover lost commits using git reflog?

Git reflog recovery tracks head movements to restore lost commits, stashes, or branches after accidental resets. This skill automates reflog recovery and stash management to provide safety nets during complex workflows.

What is the best way to manage parallel development across multiple branches?

Git worktrees and sparse checkout support parallel development by allowing multiple working directories from a single repository. This skill automates worktree initialization to manage multi-branch features with clean, linear histories.

How do I identify which commit introduced a regression using git bisect?

Git bisect uses binary search to identify regression commits by marking good and bad states. This skill automates bisect and patch workflows to pinpoint exact commits causing failures across complex histories.

Can I coordinate submodules and subtrees for monorepo management?

Subtree and submodule coordination manages dependencies within monorepos and large repositories. This skill handles multi-repo coordination across branches to synchronize complex project structures with proper guardrails.

How do I clean up git history with interactive rebasing?

Interactive rebasing rewrites commit history by squashing, reordering, or editing commits before sharing. This skill provides interactive rebase guidance for cleaning history while maintaining robust error handling and clear documentation.

Does this git workflow automation handle conflict resolution and cherry-picking?

Conflict resolution and cherry-picking across branches are directly supported. This skill applies end-to-end git operation requirements with robust guardrails to automate conflict resolution safely across complex histories.