git-machete

Manage git branch chains and automate rebases and merges.

1.1k|66|Updated Feb 24, 2018
One-click install
npx skills add https://github.com/VirtusLab/git-machete --skill git-machete
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-machete
Source: https://github.com/VirtusLab/git-machete/tree/main/skills/git-machete
Command: npx skills add https://github.com/VirtusLab/git-machete --skill git-machete

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexity of managing multiple branches in a git repository, making merges, rebases, and other git operations hassle-free.

Core Features & Use Cases

  • Branch Chain Organization: Automatically organize and visualize branch chains, simplifying merges and rebases.
  • Merge/Rebase Automation: Execute deterministic tasks like rebasing or merging with minimal manual intervention.
  • PR/MR Management: Handle GitHub/GitLab pull requests and merge requests seamlessly.

Quick Start

Use the git-machete skill to get an overview of your repository's branch structure by running 'git machete status'.

Frequently Asked Questions about git-machete

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

FAQPage Schema
How do I manage complex git branch chains for merges and rebases?

Managing complex git branch chains is simplified by automatically organizing and visualizing branch layouts, allowing you to execute deterministic merges and rebases with minimal manual intervention. This provides a clear overview of your repository structure.

What is the best way to visualize my git branch structure?

Visualizing your git branch structure is achieved by running a status command that parses your repository and organizes branches into an intuitive tree. This automatically computes fork points to clearly display parent-child branch relationships.

Can I automate GitHub and GitLab pull request tracking with branch management?

Automating GitHub and GitLab pull request and merge request tracking is fully supported alongside local branch management. You can seamlessly handle PR and MR workflows directly through the automated branch chain operations.

Do I need the git-machete CLI tool to manage my repository branches?

The git-machete CLI tool is required to parse and manage branch layouts, as this Skill relies on it to compute fork points and facilitate automated rebases and merges within your active repositories.

How do I rebase a stack of dependent branches without manual conflict resolution?

Rebasing a stack of dependent branches is handled automatically by computing fork points and applying deterministic rebase tasks across the branch chain. This minimizes manual intervention when updating your stacked feature branches.