sc-push

Push code changes to multiple Git remotes with path exclusions and branch mapping.

19|2|Updated Aug 26, 2025
One-click install
npx skills add https://github.com/Tony363/SuperClaude --skill sc-push
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sc-push
Source: https://github.com/Tony363/SuperClaude/tree/main/.claude/skills/sc-push
Command: npx skills add https://github.com/Tony363/SuperClaude --skill sc-push

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of pushing code changes to multiple Git repositories simultaneously, handling complex scenarios like path exclusions and branch mapping.

Core Features & Use Cases

  • Multi-Remote Pushing: Push to any configured Git remote.
  • Selective Filtering: Exclude specific paths or directories from being pushed to certain remotes.
  • Branch Mapping: Push a local branch to a differently named remote branch.
  • Force Push Control: Safely manage force pushes with user confirmation.
  • Use Case: Push your main development branch to both a personal GitHub repository and a team's GitLab instance, while excluding sensitive configuration files from the latter.

Quick Start

Push the current branch to all configured Git remotes, excluding the 'secrets/' directory from the 'staging' remote.

Frequently Asked Questions about sc-push

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

FAQPage Schema
How do I push code to multiple Git remotes at the same time?

You can push code to multiple Git remotes simultaneously by configuring a single command that targets all connected repositories. This streamlines complex deployment workflows by syncing your local branch to different remote servers in one action.

Can I exclude specific files or directories when pushing to a remote repository?

Yes, you can exclude specific files or directories from being pushed to certain remotes using selective path filtering. This allows you to keep sensitive configuration files out of specific remote repositories during code sync.

How do I map a local branch to a differently named remote branch during a push?

You can map a local branch to a differently named remote branch using branch renaming options during the push operation. This enables flexible multi-repository management where remote tracking branches follow different naming conventions.

What is the safest way to manage force pushing to multiple remotes?

The safest way to manage force pushing is by using controlled force-push mechanisms that require explicit user confirmation before execution. This prevents accidental history overwrites across your configured Git remotes during deployment.

Does this multi-remote push approach work for complex deployment workflows?

Yes, this approach is specifically designed for complex deployment workflows and multi-repository management. It handles advanced configuration scenarios like deploying a main branch to both GitHub and GitLab while applying individual path exclusions per remote.