automation
Streamline Git with git-machete
Automate rebase/merge workflows with git-machete, ideal for founders, with 1.1k+ GitHub stars
1,126 stars67 forksPythonHealth Score 9/10Updated 7/27/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.
Install / run
pip install git-macheteWhen 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
Quick start
- 1Initialize git-machete by running `git machete init` in your repository
- 2Configure git-machete by editing the `.gitmachete` file, which defines the workflow and rebasing rules
- 3Use `git machete status` to view the current state of your repository and identify any conflicts or issues
- 4Run `git machete rebase` to automatically rebase and squash commits according to your configured workflow
- 5Use `git machete merge` to merge branches and enforce a consistent merge strategy
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
Topics
cli
git
merge
rebase
How Streamline Git with git-machete works
Codeflow
Free to inspect
Streamline Git with git-machete is a large Python project (~20k lines across 123 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 · 123 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 91%Shell 9%
Where to start reading
- 1README.mdStart here — what it does and how to install it
- 2AGENTS.mdThe instructions the AI actually follows
- 3git_machete/cli.pyWhere the program starts running
- 4git_machete/__init__.pyInside git_machete/ — the main logic begins here
What's in each folder
READMEHas testsDocumentedCI checksMIT licenseUpdated this month
Details
Creator
VirtusLab
Language
Python
Category
automation
Published
2/24/2018
Are you the creator of this tool? Claim your listing → and earn 85% of every sale.
Related skills
More automation tools founders pair with this one.
automation★ 202,660
n8n: Automate Workflows
Streamline tasks with n8n, a fair-code automation platform for founders, with 191k+ GitHub stars.
automation★ 152,739
Langflow: AI-Powered Automation
Build AI-powered agents with Langflow. For founders needing automation.
automation★ 115,543
MoneyPrinterTurbo: AI Video Automation
Generate short videos with one click using AI. For founders needing automation.
automation★ 90,531
Fast Design with Open-Design
Get native app design with web, desktop, mobile prototypes. For founders needing local-first design tools.
automation★ 90,116
Core: Local Home Automation
Founders get private home automation with Core. For IoT startups.
automation★ 79,709
deer-flow: Automate Tasks
Founders automate tasks with deer-flow, a Python SuperAgent harness. Simplify workflows with this open-source tool.