git-merge

Merge Git branches with fast-forward, no-ff, three-way, and squash strategies.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/theslashdojo/dojo --skill git-merge-theslashdojo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-merge
Source: https://github.com/theslashdojo/dojo/tree/main/nodes/git/merge
Command: npx skills add https://github.com/theslashdojo/dojo --skill git-merge-theslashdojo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Merge changes from one branch into another.

Core Features & Use Cases

  • Merge strategies: fast-forward, no-ff, three-way, and squash merges to preserve or flatten history.
  • Conflict management: detect conflicts, provide guidance, and offer safe resolution workflows.
  • Safety and verification: abort merges safely and verify results with common git commands.

Quick Start

Merge a feature-branch into main and resolve conflicts automatically where possible.

Frequently Asked Questions about git-merge

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

FAQPage Schema
What is the difference between fast-forward, no-ff, and squash git merge strategies?

Git merge strategies control how branch history is preserved or flattened. Fast-forward moves the pointer without a merge commit, no-ff preserves branch context with a merge commit, and squash combines all feature commits into a single commit on the target branch.

How do I resolve git merge conflicts safely?

To resolve git merge conflicts safely, this Skill detects conflicts and provides automated guidance for resolution workflows. It offers safe-abort procedures to cancel merges and verification commands to ensure the final merge is successful and correct.

How do I abort a git merge and cancel changes?

You can abort a git merge and cancel changes using safe-abort procedures provided by this Skill. It guides you through cancellation commands to undo an in-progress merge, returning the branch to its pre-merge state without losing uncommitted work.

When should I use a three-way git merge instead of a fast-forward?

A three-way git merge is needed when the target branch has diverged with new commits since the feature branch was created. Fast-forward only works if the target branch hasn't changed, while three-way merges use a dedicated merge commit to join both histories.

How do I verify a successful git merge?

You verify a successful git merge by running common git commands provided as verification steps. This Skill outputs specific verification commands to check history integrity and confirm that the branch changes were applied correctly to the target branch.