VirtusLabVirtusLabOfficialยท1 Agent Skills Included

git-machete

Manage stacked Git branches and PR chains without rebase headaches

Organizes tangled Git branches into a clear parent-child tree and keeps every branch in sync with one command. Automates stacked rebases, merges, pushes, and pulls so you stop tracking branch dependencies by hand. Creates and retargets GitHub PRs and GitLab MRs for entire branch chains, keeping small, easy-to-review pull requests effortless.
npx skills add VirtusLab/git-machete --all -g -y
Available:

Gives AI coding agents strict operational rules for working in this repository, including running all tests and linters through tox, never committing without permission, and following enforced conventions for imports, strings, and formatting.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install git-machete?โ–ผ

Run `npx skills add VirtusLab/git-machete --all -g -y` in your terminal to install the skill globally for your AI agent.

What does git-machete do?โ–ผ

It organizes your Git branches into a parent-child tree and semi-automatically rebases, merges, pushes, and pulls each branch to keep the whole chain in sync.

How to manage stacked pull requests with git-machete?โ–ผ

Run `git machete github create-pr` (or `gitlab create-mr`) to open PRs with the correct parent branch as base, and use `traverse` to restack the entire chain after changes.

Does git-machete work with AI coding agents?โ–ผ

Yes. It ships a SKILL.md that tells agents exactly which commands are safe to run non-interactively, which flags like `-y` are required, and which interactive commands to avoid.

Can I use git-machete without deep Git knowledge?โ–ผ

Yes. Commands like `git machete status` and `git machete traverse` show a visual branch tree and walk you through syncing everything step by step.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’