commit-hard-push

Commit repository changes and push to remote despite protected branches.

1|1|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/kangmomin/harness-plugins --skill commit-hard-push
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-hard-push
Source: https://github.com/kangmomin/harness-plugins/tree/main/be-harness/skills/commit-hard-push
Command: npx skills add https://github.com/kangmomin/harness-plugins --skill commit-hard-push

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables committing changes on any branch and pushing to the remote, bypassing protected-branch restrictions to streamline iterative development.

Core Features & Use Cases

  • Reads local project override files and applies per-skill or global override rules before execution.
  • Commits changes and pushes to the remote regardless of branch protections, with safety checks guided by OVERRIDES.md.
  • Integrates with the harness plugin's common configurations to ensure consistency across skills.

Quick Start

Commit your changes on the desired branch and push to the remote repository, bypassing protected-branch restrictions.

Frequently Asked Questions about commit-hard-push

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

FAQPage Schema
How do I push commits to a protected branch in git?

To push to a protected git branch, this skill commits your changes and forces the push to the remote, bypassing protected-branch restrictions. It reads local project override files and OVERRIDES.md to apply safety rules before executing the push.

Can I automate git commit and push while branch protection is enabled?

Yes, you can automate git commit and push with branch protection enabled. This skill applies per-skill or global override rules from local project files and OVERRIDES.md, then commits and pushes to the remote regardless of active branch protections.

What are git branch protection overrides and when do I need them?

Git branch protection overrides are defined rules that allow pushing to restricted branches. You need them when standard protections block direct remote pushes during iterative development, and this skill applies those overrides from OVERRIDES.md to ensure safe execution.

How do I configure override rules for committing to protected branches?

Configuring overrides for committing to protected branches involves creating local project override files and a plugin root OVERRIDES.md. The skill consults these files to absorb additional rules or exceptions, guiding safety checks before pushing changes to the remote.

What are the limitations of bypassing git branch protection to push directly?

Bypassing git branch protection removes standard review safeguards. While this skill follows defined override rules from OVERRIDES.md to maintain traceability, you should avoid using it for collaborative branches where peer review and CI validation are required before merging.

Does this git commit and push automation work without additional dependencies?

This git commit and push automation works without additional dependencies. It integrates with the harness plugin's common configurations and relies solely on local project override files and the OVERRIDES.md file to execute protected branch pushes safely.