rebaseplan

v0.1.0
io.github.CloudCorpRecords/rebaseplan Checked 19 hours ago Published 29 days ago

Plan a safe rebase: squash history and force-push risk flagged before you start.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

plan_rebase

Plan a safe rebase before you start: count merge commits and squash-merge markers in the branch history, weigh the upstream distance and whether the branch is published, and return a strategy, steps, and warnings.

ParameterTypeDescription
commits *arrayThe branch's own commits, oldest first: {hash, subject, merge}
publishedbooleanWhether the branch has been pushed or shared (optional)
upstream_commitsarrayCommits the upstream branch has that this branch does not (optional): {hash, subject}