automation

Streamline Git with git-machete

Automate rebase/merge workflows with git-machete, ideal for founders, with 1.1k+ GitHub stars
1,143 stars+2★ this week70 forksPythonGuide quality 9/10 · reviewed Aug 3Updated 10/4/2026100% free · open source
What it does

Git-machete is a tool that automates git repository organization and rebase/merge workflows, streamlining the process of managing complex git histories.

When to use it
  • •When you need to simplify a complex git history with many merges and rebases
  • •When you want to automate repetitive git tasks, such as squashing commits or resolving conflicts
  • •When you're working on a large project with multiple collaborators and need to enforce a consistent git workflow
Ready-to-paste prompt
git machete rebase -i --squash-commits --resolve-conflicts
Heads up: Make sure you have a clean git repository with no uncommitted changes before running git-machete, as it will modify your repository's history and may overwrite local changes
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/git-machete && curl -fsSL https://workflowstacks.com/api/skills/git-machete/claude-skill -o ~/.claude/skills/git-machete/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Streamline Git with git-machete works
Codeflow
Free to inspect

Streamline Git with git-machete is a large Python project (~20k lines across 126 code files, plus 65 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit this month, MIT license, has a test suite.

Size
Large codebase
~20k lines · 126 code files · ~3 h to skim
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Python
No API keys detected
Python 92%Shell 8%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    AGENTS.md
    The instructions the AI actually follows
  3. 3
    git_machete/cli.py
    Where the program starts running
  4. 4
    git_machete/__init__.py
    Inside git_machete/ — the main logic begins here
What's in each folder
git_machete/Core code — the actual logic48 files
skills/Prompts, skills & agent definitions1 files
docs/Documentation79 files
ci/Folder77 files
blogs/Folder27 files
requirements/Folder14 files
completion/Folder4 files
flake8/Folder4 files
READMEHas testsDocumentedCI checksMIT licenseUpdated this month
Quick Actions
Details
Creator
VirtusLab
Language
Python
Category
automation
Published
2/24/2018

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/git-machete.svg)](https://workflowstacks.com/skills/git-machete?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.