Skip to content
Productivity
Command

/push-and-release

Git pull, resolve conflicts, push, fix hook errors, then release

From plugin
nimbalyst
2.1k54 skills3 agents54 commands3 MCP
> /plugin marketplace add nimbalyst/nimbalyst
> /plugin install nimbalyst-wiki@nimbalyst

Command definition

push-and-release.md
description: Git pull, resolve conflicts, push, fix hook errors, then release

**Arguments**: `{{arg1}}`

  • First word: release type (patch, minor, major) — defaults to "patch" if omitted
  • If second word is "auto": passed through to `/release-alpha` (skips approval prompts)

Run the full push-and-release workflow:

1. Git Pull

  • Run `git pull origin main --rebase`
  • If there are merge/rebase conflicts:
  • Analyze the conflicts and resolve them intelligently (prefer incoming changes for version bumps, preserve local changes for code)
  • Stage resolved files and continue the rebase: `git rebase --continue`
  • If resolution is ambiguous, stop and ask the user

2. Fix Git Hook Errors

  • If any git hooks (pre-commit, commit-msg, etc.) fail during the pull/rebase:
  • Read the error output
  • Fix the issues (linting, formatting, type errors, etc.)
  • Stage fixes and retry the operation
  • Repeat until hooks pass

3. Git Push

  • Push to origin: `git push origin main`
  • If push is rejected (e.g., non-fast-forward), pull again and repeat from step 1
  • Verify push succeeded

4. Release

  • Extract the release type from `{{arg1}}` (default: "patch")
  • Determine if "auto" was specified
  • Run `/release-alpha {{arg1}}` (or `/release-alpha patch` if no args given)
  • This delegates to the full release workflow including changelog, version bump, tagging, and pushing the release

Error Recovery

  • If any step fails, diagnose the root cause before retrying
  • Never force-push or use destructive git operations without asking the user
  • If stuck after reasonable attempts, stop and explain the situation to the user
Read more
@nimbalyst
Ships withnimbalyst

Nimbalyst - The open-source visual workspace for Claude Code, Codex, and OpenCode. Run multiple coding agents in parallel, edit their work visually in markdown, mockups, and diagrams, and track tasks. Free, MIT-licensed desktop app for macOS, Windows, Linux, with mobile companion for iOS and Android.

2.1k16 skills3 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.1k
Star history of nimbalyst/nimbalyst on GitHub, a chart by star-history.com

Other commands on nimbalyst.

analyze-sessions

analyze-sessions

Command

Audit recent AI coding sessions to find repeated mistakes, speed losses, and missed Nimbalyst tool usage — then propose harness…

@nimbalyst@nimbalystInstall Command
audit-updates

audit-updates

Command

Triage pnpm audit findings and produce a prioritized, supply-chain-cautious package-update plan, then apply approved batches

@nimbalyst@nimbalystInstall Command
autofix-issues

autofix-issues

Command

Survey recently triaged GitHub issues, propose the ones safe to fix without a product decision, and fan the selected ones out to…

@nimbalyst@nimbalystInstall Command

More commands from other plugins.

analyze-cohorts

analyze-cohorts

Command

Perform cohort analysis on user data — retention curves, feature adoption, and engagement trends

@phuryn@phurynInstall Command
again

again

Command

PUA Again — 用于再试试、换个方法、别放弃、为什么还不行、同一路径失败多次;要求停止微调同一思路,改用本质不同方案。

pua2mo20k
@tanweai@tanweaiInstall Command