Git Workflow Utils

Advanced git operations including branching, commits, merge conflicts, tag creation, and history manipulation.

Lord1Egypt Updated 2 repo stars

File contents

Git Workflow Utils

Overview

Git is a distributed version control system designed to handle everything from small to very large projects.

When to Use This Skill

Use to script workspace updates, pull-request hooks, or resolve conflicts automatically in agent loops.

Quick Start (with runnable code examples)

# Run git commands via subprocess
import subprocess

def git_commit_and_push(message: str):
    subprocess.run(["git", "add", "."])
    subprocess.run(["git", "commit", "-m", message])
    subprocess.run(["git", "push"])

Advanced Usage

Handle interactive rebases, git cherry-pick, merge conflict marker parsing, and submodule management.

Key References

Dependencies

  • Git CLI

Lord1Egypt/ai-skillforge/tree/main/skills/gemini/git-workflow-utils commit 135aebe293

Frequently asked questions

npx skillmds@latest add lord1egypt/git-workflow-utils