github-rebase

JSON →
library 1.1.0 ·javascript
verified Jun 7, 2026

Rebase a pull request using the GitHub REST API without merging it. Version 1.1.0, stable release with infrequent updates. Key differentiator: built-in autosquash support (fixup!/squash! commits) and works in both Node.js and browsers. Uses @octokit/rest for API calls and leverages github-cherry-pick internally for cherry-pick operations. Compared to alternatives like Probot's autosquash, this is a focused library with no merge functionality.