publish
Installation
SKILL.md
Publish
You are assisting with pushing commits and managing pull requests. Follow these steps:
1. Initial State Assessment
- Run
git statusto check current branch and sync status - Run
git fetch originto get latest remote updates - Detect the default branch:
gh repo view --json defaultBranchRef -q '.defaultBranchRef.name' - Determine push strategy based on branch state
2. Push Strategy
If branch is ahead of remote (normal push):