Loading...
Loading...
[Hyper] Push unpushed commits to the remote. Discovers the current or descendant git repositories, checks for commits ahead of upstream, and pushes them. Use when the user wants to push, sync to remote, or send commits upstream.
npx skill4agent add alpoxdev/hypercore git-push| Script | Purpose |
|---|---|
| Discover repos, check for unpushed commits, and push safely |
| User intent | Activate |
|---|---|
| "push" | yes |
| "git push" | yes |
| "/git-push" | yes |
| "push my changes" | yes |
| "push commits to remote" | yes |
| "sync to remote" | yes |
| requests that only ask for commit/rebase/reset | no |
| "push back on this idea" (non-git context) | no |
--force--force-with-lease| Category | Rule |
|---|---|
| Safety | Never force push to main or master. |
| Safety | Never push from detached HEAD. |
| Safety | Use |
| Upstream | If no upstream is set, push with |
| Idempotent | If already up to date, report and exit cleanly. |
| Multi-repo | Handle descendant repositories independently. |
| Category | Avoid |
|---|---|
| Force push | |
| History rewrite | amend, rebase, reset, or other history-editing commands |
| Commit | Do not create commits — that is the git-commit skill's job |
| Raw force | |
scripts/git-push.shscripts/git-push.sh --force/git-push/git-push --force--force-with-lease/git-push/git-push