git-push-secondary-merge-primary

Installation
SKILL.md

Git Push Secondary Merge Primary

Overview

Execute the standard two-branch handoff: finish work on the secondary branch, push it, merge it into the primary branch, push the primary branch, then return to the secondary branch.

Use "secondary branch" for the branch that contains the current work, such as dev, develop, or another integration branch. Use "primary branch" for the protected/release branch, such as main or master.

This workflow is for safe release-sync handoffs where both branches need to be pushed and the primary branch should preserve a clear merge result.

When to Use

Use this skill when the user asks for:

  • Pushing the work branch and then merging into the release branch
  • A two-branch release-sync workflow such as devmain or developmaster
  • Finishing a feature on a secondary branch and propagating it to the primary branch
  • Keeping a clean merge commit on the primary branch while preserving the secondary branch history

Do Not Use

Installs
14
GitHub Stars
12
First Seen
Jun 8, 2026
git-push-secondary-merge-primary — yangsonhung/awesome-agent-skills