git-push-remote

Community

Push branch to remote with upstream tracking

Authorf4irline
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Ensures that a local ticket branch is reliably published to the remote repository and configured with an upstream so collaborators and CI can see and build the work, avoiding accidental detached pushes in multi-worktree setups.

Core Features & Use Cases

  • Resolve branch identity from a provided worktree path or explicit branch name and detect detached HEAD states.
  • Check whether an upstream exists and perform a conditional push that sets upstream for new branches or pushes to the existing upstream.
  • Handle common push failures by attempting a rebase and re-push, report conflicts and authentication issues, and verify the pushed commit on origin.
  • Use Case: From a ticket worktree, push the current branch to origin with upstream tracking so the PR and CI appear automatically.

Quick Start

Use the git-push-remote skill to push the ticket worktree branch to origin and set upstream tracking if it is missing.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: git-push-remote
Download link: https://github.com/f4irline/bbqparty-ai/archive/main.zip#git-push-remote

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.