rebase-document-push
Safely prepare the current Git branch or worktree for handoff by rebasing it onto the latest remote preview branch, creating or updating a succinct branch document with dated revisions, verifying the rebased result, and pushing to the existing upstream branch or a friendly new remote branch. Use when the user says "rebase this worktree on preview and push it", "update, document, and push this branch", or "prepare this branch for handoff". This workflow rewrites and publishes Git history; do not use it for read-only status checks, documentation-only edits, or direct work on preview or main.
Pinned to revision 8b744041a6c0, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.