sindresorhus/refined-github

Rebase button #3563

aminya posted onGitHub

It would be nice if we have a rebase button next to the update base branch (which merges master to this branch). I usually prefer the rebase because it helps to keep the commit history cleaner.

image


This isn't possible via the API. Even merging only recently became possible: https://developer.github.com/v3/pulls/#update-a-pull-request-branch

I don't think the API offers any such destructive options (rebase rewrites history and thus it requires --force)

posted by fregante over 4 years ago

For anyone that wants this, there is a GitHub action that does it: https://github.com/cirrus-actions/rebase

posted by aminya over 4 years ago

If anyone wants to build an extension for this, it's possible but you'll need a third-party server to clone and force push (which is basically what that action does on GitHub’s own Action servers)

posted by fregante over 4 years ago

Fund this Issue

$0.00
Funded

Pull requests